auto restart script not working.
i have installed a Dreambox 800 original ( Oozoon gp3 imaage) server with cccam.
everything works now except the auto restart script when offline...
i have added the script ( usr, script ) and Cron 6 * * *, see attachement, but when i give cccam stop it does not restart automaticly.
can someone pls tell me whats wrong in the script?
reg,
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/usr/bin/CCcam_2.2.1 &
fi
i have installed a Dreambox 800 original ( Oozoon gp3 imaage) server with cccam.
everything works now except the auto restart script when offline...
i have added the script ( usr, script ) and Cron 6 * * *, see attachement, but when i give cccam stop it does not restart automaticly.
can someone pls tell me whats wrong in the script?
reg,
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/usr/bin/CCcam_2.2.1 &
fi