eu descubri como faser :
vo tentar esplicar se algen presisar de meter un emu noma box assim:
1) ir a /etc/int.d aqui se mete o script mas ten de ter un nome tipo assim : softcam.Oscam atributo: 755
2) o bin = /usr/bin/oscam :755 tb
3) as config: /etc/tuxbox/config/ ....
daicho aqui o script que fis :
******************************************************
#!/bin/sh
CAMD_ID=1796
CAMD_NAME="Oscam"
INFOFILE_A=ecm.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
INFOFILE_E=ecm4.info
INFOFILE_F=ecm5.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
logger $0 $1
echo $0 $1
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/*mbox* /tmp/*share* /tmp/*.pid* /tmp/*sbox* /tmp/*oscam*
}
case "$1" in
start)
remove_tmp
/usr/bin/oscam -b -c /etc/tuxbox/config &
;;
stop)
killall -9 oscam 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
******************************************************
se ajudar algen ja é fixe
