Hello , try this one:
#!/bin/sh
case "$1" in
start)
ulimit -s 1024
sleep 3
exec start-stop-daemon -S -x /usr/bin/oscam -- -b -c /etc/tuxbox/config/oscam -r 2
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/oscam
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "svn10134"
;;
info)
echo "Oscam"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
if not working pls replace in start section this line:
exec start-stop-daemon -S -x /usr/bin/oscam -- -c /etc/tuxbox/config/oscam -r 2
by
exec start-stop-daemon -S -x /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam -restart 2
good luck ....
- Forums
- → Viewing Profile: Reputation: Andr705
ATTENTION !!!
Due to a database corruption issue, we were forced to restore last-nights backup. This means all posts of Saterday Febuary 17th have been lost.Community Stats
- Group Member
- Active Posts 21 ( per day)
- Profile Views 1,210
- Age 58 years old
- Birthday May 7, 1966
-
Gender
Male
-
Location
Russia
Contact Information
1
Neutral
User Tools
Friends
Andr705 hasn't added any friends yet.
Latest Visitors
#476522 Oscam does not start automatically
Posted by Andr705 on 18 February 2015 - 18:34
- Forums
- → Viewing Profile: Reputation: Andr705