Want to Changing Oscam Config Location ????

There are 5 replies in this Thread which was already clicked 3,427 times. The last Post () by master G.

  • One More Question Master G


    My oscam is running config from /etc/tuxbox/config


    i want to change the location to /etc/tuxbox/config/oscam


    Can i do that if yes how to change it


    Thanks

    My oscam is running config from /etc/tuxbox/config

    i want to change the location to /etc/tuxbox/config/oscam


    Can i do that if yes how to change it


    Thanks

  • use search button and use terms
    "how to compile oscam"
    to change locations im sure you must compile it yourself and chnage the location that way
    there is a guide to compile oscam not sure if one to change locations ect ect
    bu it will get you started
    hope this helps :)

    PM for support 0nly with a Link to Y0ur
    P05t w1Th Wat5 up 0r 155u3 thaT5
    B33N ....... P05T3D


    0D3R PATCH3D 3H ;)
    much <3 th0ugh in d0 a5 Ab0v3
    1n Wh3n 533N r3plY n PM n 58PP0rt G1v3n ;)



    "I'm against Piracey so please DONT ATTACK SHIPS"
    :p

    • Official Post

    FTP to /etc/init.d > open softcam.oscam > i`ve highlighted the area you need to edit.


    #!/bin/sh

    case "$1" in

    start)

    ulimit -s 1024

    /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8

    ;;

    stop)

    kill `cat /tmp/oscam.pid` 2> /dev/null

    ;;

    restart|reload)

    $0 stop

    sleep 1

    $0 start

    ;;

    version)

    echo "11391"

    ;;

    info)

    echo "OSCam 11391"

    ;;

    *)

    echo "Usage: $0 start|stop|restart"

    exit 1

    ;;

    esac

    exit 0

  • sure let me try it


    thanks Master G


    You are Great and Active member of this forum

    my configuration is different than yours


    #!/bin/sh

    CAMNAME="OSCam EMU"

    remove_tmp () {

    rm -rf /tmp/*.info* /tmp/*.tmp*

    }


    case "$1" in

    start)

    echo "[SCRIPT] $1: $CAMNAME"

    remove_tmp

    /usr/bin/oscam -b &

    ;;

    stop)

    echo "[SCRIPT] $1: $CAMNAME"

    killall -9 oscam 2>/dev/null

    remove_tmp

    ;;

    *)

    $0 stop

    exit 0

    ;;

    version)

    echo "11.350"

    ;;

    esac


    exit 0

    • Official Post

    Change it to this:


    #!/bin/sh

    CAMNAME="OSCam EMU"

    remove_tmp () {

    rm -rf /tmp/*.info* /tmp/*.tmp*

    }


    case "$1" in

    start)

    echo "[SCRIPT] $1: $CAMNAME"

    remove_tmp

    /usr/bin/oscam -c /etc/tuxbox/config/oscam

    ;;

    stop)

    echo "[SCRIPT] $1: $CAMNAME"

    killall -9 oscam 2>/dev/null

    remove_tmp

    ;;

    *)

    $0 stop

    exit 0

    ;;

    version)

    echo "11.350"

    ;;

    esac


    exit 0

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!