Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Oscam Script Start-stop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • madrax
    Banned
    • Jun 2010
    • 102

    Oscam Script Start-stop

    Create a startup script.


    try this..

    let me know the result..

    Send me test C line

    ############################################
    Start-stop Oscam Script
    ##########################################
    No, pli hasn't got it via the blue panel. You have to put it there manually creating an empty file /etc/plimgr/cardservers/oscam
    The below was posted by davo a while ago.

    1. upload oscam binary in /usr/bin (chmod 0755)

    2. create empty file /etc/plimgr/cardservers/oscam
    # touch /etc/plimgr/cardservers/oscam

    3. create script /etc/plimgr/scripts/oscam to start oscam (chmod 0755)


    #!/bin/sh

    case "$1" in
    start)
    echo "Starting oscam"
    /usr/bin/oscam -b -c /etc/tuxbox/config
    ;;
    stop)
    echo "Stopping oscam"
    killall oscam 2>/dev/null
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0
    ##############################

    Good luck
  • uttnls

    #2
    Re: Oscam Script Start-stop

    Or just install Webmin, and create/manage in seconds any startup script from Bootup and Shutdown feature

    Comment

    Working...