es para usar sbox como unica emu.


Código:
#!/bin/sh

CAMNAME="SBox"

remove_tmp () {
    rm -rf /tmp/*.info* /tmp/*.tmp*
}

case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    remove_tmp
    /usr/bin/sbox &
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    killall -9 sbox 2>/dev/null
    sleep 1
    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
esac

exit 0

salu2....