
Thanks:
15

Likes:
8

Dislikes:
0
-
Banned
- Rep Power
- 0
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam.mipsel >/dev/null
then
if wget http://root:dreambox@192.168.1.1:16001
then
rm /root/index.html
echo "$(date +%d-%m-%Y_%H:%M:%S) CCcam ok." >> /opt/var/etc/CCcam_check.log
else
echo "$(date +%d-%m-%Y_%H:%M:%S) CCcam restarted." >> /opt/var/etc/CCcam_check.log
killall CCcam.mipsel
/opt/var/bin/./start_CCcam
fi
else
echo "$(date +%d-%m-%Y_%H:%M:%S) CCcam restarted." >> /opt/var/etc/CCcam_check.log
killall CCcam.mipsel
/opt/var/bin/./start_CCcam
fi
espe ok asa, a verificat cineva
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules