Results 1 to 3 of 3

Thread: Cccam Restart Script FOR-GEMINI

  1. #1
    Senior Member <warrior>'s Avatar
    Join Date
    29-06-2008
    Location
    world-satellite
    Posts
    655
    Uploads
    115

    Cccam Restart Script FOR-GEMINI

    Cccam Restart Script FOR-GEMINI

    modified BY RAINBOW-LIBYA.CC

    18/11/2009

    this is a script-program that controls if and how your CCcam works, this script is made for

    CCcam 2.1.3

    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


    FOR ALL CCCAM USERS

    RAINBOW-LIBYA

  2. #2
    VIP Member dyndns's Avatar
    Join Date
    17-05-2009
    Location
    παραθαλάσσια
    Posts
    1,581
    Uploads
    7

    Re: Cccam Restart Script FOR-GEMINI

    your .rar contains under /bin and /etc 2 more unnecessary files!

  3. #3
    VIP Member noobox's Avatar
    Join Date
    12-03-2006
    Location
    Aghioul City
    Posts
    737
    Uploads
    6

    Re: Cccam Restart Script FOR-GEMINI

    Same as dyndns. Only two files are needed like this. Offcorse this just an example.

    Code:
    #!/bin/sh
    
    while [ 1=1 ];
    do
    
    if [ ! "$(pidof CCcam)" ]
    then
      echo "Dead at `date`" >> /var/log/CCcam_Check.log | /usr/bin/CCcam &
    fi
    
    sleep 10
    
    done
    and for the daemon

    Code:
    #!/bin/sh
    
    set -e
    
    DESC="CCcam Process Checker"
    NAME="CCcam"
    DAEMON="/var/script/CCcam_Check"
    
    test -x $DAEMON || exit 0
    
    
    case "$1" in
    start)  echo "Starting $DESC"
            $DAEMON &
            exit $?
            ;;
    stop)   echo "Stopping $DESC"
            pkill $NAME
            exit $?
            ;;
    *)      echo "Usage: /etc/init.d/CCcam_Check {start|stop}"
            exit 2
            ;;
    esac
    exit 0

Similar Threads

  1. Update Gemini 4.60 NoTimeBomp DM500 CCcam 2.1.2 AFACAN
    By wahid in forum Dreambox DM 500 / DM 500+ Images
    Replies: 1
    Last Post: 19-11-2009, 20:29:45
  2. Update Gemini-4.60 CCcam-2.1.2 NoTimeBomp BACKUP-19.11.2009
    By wahid in forum Dreambox DM 500 / DM 500+ Images
    Replies: 1
    Last Post: 19-11-2009, 20:13:38
  3. script to start OSCAM CCcam 2.0.11 +.rar
    By iosonojuventino in forum CCcam Software and Tools
    Replies: 0
    Last Post: 07-11-2009, 21:50:33
  4. Info Script de la CCcam
    By Levante in forum Spanish / Espa˝ol
    Replies: 0
    Last Post: 17-01-2009, 15:21:55
  5. Editer CCcam sous gemini avec DM500
    By frapifr in forum French / Franšais
    Replies: 0
    Last Post: 26-01-2007, 15:58:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •