PDA

View Full Version : CCcam Check-Script


ANTR@G
17-08-09, 23:22
CheckCccam

This script will work on most linux dist. including enigma1/2.
The script will check if the CCCam proccess are running with a crontab and restart CCcam if stopped for some reason.

Upload checkcccam.sh and place it under /bin. chmod with 755

Modify these 3 lines inside checkccam.sh to fit your local settings for paths and name of cccam file:

CCCAM_CONFIG_FILE_PATH="/etc"
This is the path where your Cccam.cfg file are located

CCCAM_EXECUTABLE_PATH="/bin"
This is the path where your Cccam.ppc/Cccam.x86 file are located

NAME_OFF_CCCAM_EXECUTABLE="CCcam.x86"
This is the name of your Cccam bin.file.

Then make a crontab to run this script every 1 min.:

# crontab -e

Insert this line and save the file:
* * * * * /bin/checkcccam.sh

Try to kill your cccam process and check that it starts again in max. 1 min.

ANTR@G
17-08-09, 23:23
CCCam restart script Gemini image DM

this is a script-program that controls if and how your CCcam works, this script is made for
CCcam 2.0.11
if your CCcam crash down this script will make that you CCcam works again
this script is made for gemini image
start your crond in gemini image and configure your crond to check up every 15 minutes the work of CCcam
put the part of this script in their folders - var/bin,etc,script
if you use other version of CCcam please edit in this script folders and put the CCcam that you use
thanks to Allain and telesat