I have been told this works a treat but has NOT been tested by myself yet:
create a file text with name: CCcam_test.sh
create the script with this content:
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/var/bin/CCcam_2.1.3
fi
it goes in /var/script and then in crond through the blue button- services- adjustments - yellow button to time it,,for example every 5 mins( remember to press OK to start then save)
then the test : start in common interface and when it passes the 5 mins, check see if it has started up...
this has version 2.1.3 as an example,,, but your line should be modified to the exact version you use,
this example has been tested on a DM500 clone with cam 2.1.3
in KGD :
blue button
configuration
task programmer
put "reboot"
put the time
save changes and activate the programmer
restart ..
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, your use of the content, downloads and files, or any part thereof, is made solely at your own risk and responsibility. Viewing Pay TV without a valid subscription is illegal. !! Linuxsat-Shares.com cannot be held responsible for the content of any information stored or posted on this forum.