me1960
25-03-09, 11:14
Script to check if cccam is running >>> DM 800
the script does not need crond to start and is very simple
cd /usr/bin
while [ 1 ];
do
process=`ps auxwww | grep cccamd-real | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
echo "Couldn't find CCcam running. Restarting server-binary" >> /tmp/cccam.check
/usr/bin/cccamd-real
else
echo "CCcam is still OK!" >> /dev/null
fi
done
to start the script you must do the following steps
1.
- go to usr/bin and rename your existing CCcam_2011 to cccamd-real
2.
- upload the file CCcam_2011 that is attached to this post to /usr/bin and set attributes to 755
3.
-reboot dreambox
download :
http://rapidshare.de/files/46332440/onlinecheck_script_for_E2_DREAMBOX_800S_HD.rar.html
the script does not need crond to start and is very simple
cd /usr/bin
while [ 1 ];
do
process=`ps auxwww | grep cccamd-real | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
echo "Couldn't find CCcam running. Restarting server-binary" >> /tmp/cccam.check
/usr/bin/cccamd-real
else
echo "CCcam is still OK!" >> /dev/null
fi
done
to start the script you must do the following steps
1.
- go to usr/bin and rename your existing CCcam_2011 to cccamd-real
2.
- upload the file CCcam_2011 that is attached to this post to /usr/bin and set attributes to 755
3.
-reboot dreambox
download :
http://rapidshare.de/files/46332440/onlinecheck_script_for_E2_DREAMBOX_800S_HD.rar.html