got mgcamd 1.38 installed on 2 boxes we turn them off when not watching. problem is my dm800 with openpli 3 mgcamd autorestarts no probs, but my sunray with openpli 2.1 i have to manually restart cam. i can't change openpli for later version because of trial tuner issues with oe2.0. here is softcam.mgcamd script
Bash
#!/bin/sh
case "$1" in
start)
ulimit -s 1024
sleep 3 ; start-stop-daemon -S -b -x /usr/bin/mgcamd
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/mgcamd
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "1.38"
;;
info)
echo "mgcamd 1.38"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
Display More