this is for dream elite phoenix edition
the script runs another script then oscam starts
it works perfect
edit the parts in yellow to suit your image
Code:
#!/bin/sh
#Script to check if OSCAM is running.
process=`ps auxwww | grep oscam | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
echo "Couldn't find OSCAM running Restarting OSCAM Server" >> /var/log/oscam.check
echo && date >> /var/log/oscam.check
else
/usr/camscript/Ncam_oscam.sh start
echo "OSCAM is still OK!" >> /var/log/oscam.check
fi
Bookmarks