I am using a DM500HD as my server. I use oscam to read card but because cccam starts before oscam it accesses the cardreader and prevents oscam from using it.
I am trying to delay the start of ccccam to enable oscam to use the cardreader before cccam. I have added a sleep line in the softcam.cccam209 script as shown here
#!/bin/sh
case "$1" in
start)
sleep 30
exec start-stop-daemon -S -x /usr/bin/CCcam209
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/CCcam209
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "2.0.9"
;;
info)
echo "CCcam209 2.0.9"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
However this just seems to stop cccam from running at all. Is there any way I can acheive oscam running first?
mark_hopley
Member Since 20 Feb 2010Offline Last Active 27 Aug 2012 18:06