Friday, May 20, 2011

Make "stable" CCcam



One who is using CCcam know that usually CCcam after some time generate segmentation fault so there is no more active soft-cam reader in your linux based STB, and even you have your subscription card inside STB, you'll get black screen. Therefore you must re-start CCcam manualy. Other solution is to use following script which will check every 10 seconds if CCcam is running.



#!/bin/sh
while :
do
proces=`ps -A | grep CCcam | cut -f2 -d " "`
if [ -z $proces ]
then
/var/bin/CCcam &
sleep 5
fi
sleep 10
done

No comments:

Post a Comment