-
Standard RSP member
- Rep Power
- 70
script
#!/bin/sh
CAMNAME="OscamCCcam"
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/usr/bin/oscam &
sleep 10
/usr/bin/CCcam &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
killall -9 oscam CCcam 2>/dev/null
sleep 1
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
Mie imi merge foarte bine scriptul asta, dar la atribut am dat 755 si nu 777.
In plus mie imi apare mumai la emu :OscamCCcam la cardserver nu am pus nimic.
Last edited by zottya; 18-02-11 at 21:02.
Reason: add
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules