Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 2 of 2

Thread: Oscam script !

  1. #1
    Gold Member Expert
    Join Date
    Jan 1970
    Posts
    3,358
    Posts Thanks / Likes

    Default Oscam script !

    Am si eu nevoie de un script care sa reporneasca oscam daca se blocheaza !

    Azi a crapat oscamu am fost 8 ore la lucru si nu s-a mai vazut localu !

    Mersi !

    PS: pentru ubuntu !

  2. #2
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Oct 2007
    Location
    Bucharest
    Posts
    111
    Posts Thanks / Likes

    Default

    Quote Originally Posted by miloo View Post
    Am si eu nevoie de un script care sa reporneasca oscam daca se blocheaza !

    Azi a crapat oscamu am fost 8 ore la lucru si nu s-a mai vazut localu !

    Mersi !

    PS: pentru ubuntu !
    Salut,
    Imi pare rau ca nu stiu cum arata softul de oscam dar scriptul poate arata asa :

    Code:
    #!/bin/sh
    #Script to check if the OSCAM are running.
    #Script is written by Danut.
    process=`ps auxwww | grep oscam.bin | grep -v grep | awk '{print $1}'`
    if [ -z "$process" ]; then
    echo "Couldn't find OSCAM running Restarting OSCAM Server" >>/var/oscam/oscam.check
    echo && date >>/var/oscam/oscam.check
    sleep 5
    /usr/local/bin/oscam.bin -d >>/var/oscam/oscam.log
    else echo "OSCAM is still OK!" >>/var/oscam/oscam.check
    fi
    Va trebui sa schimbi caile. denumirea fisierelor si permisiunile aferente.
    Sa nu uit, scriptul il bagi in cron la cate minute/ore vrei.

    BR,
    Danut

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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