Thursday, June 23, 2011

oscam script for linux

#!/bin/sh
if ps x | grep -v grep | grep oscam ;
then
echo 'date' "Oscam working" >> /tmp/Check_Oscam.log
else
echo 'date' "Restarting Oscam...." >> /tmp/Check_Oscam.log
/usr/local/bin/oscam -b
fi



No comments:

Post a Comment