Display MoreI use cccamcheck script on BH and it's working great. This is how it's done :
You ftp the script in /var/script and give attribute 755. Then you go in /etc/bhcron, there you find 2 files bh.cron and root.
In both you add this line :
*/5 * * * * /var/script/./ccheck.sh
The script is named ccheck.sh and it looks like this :
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/usr/bin/CCcam_213 &
fi
As you can see it is for CCcam 2.1.3, if you have a different version modify accordingly. Please reply with feedback.
great mini-manual :) tested and done and working fine.
thanx for your help