Start oscam at boot

There are 3 replies in this Thread which was already clicked 15,762 times. The last Post () by musogeek.

  • musogeek guide

    • nano /etc/rc/local
    • add /var/local/oscam &
    • nano /etc/crontab
    • add 2 lines

      • 05 * * * * root echo 3 > /proc/sys/vm/drop_cashes
      • 45 05 * * * root /sbin/rebbot




    method I'm using

    • create a script: /etc/init.d/oscam.sh
    • nano /etc/init.d/oscam.sh
    • nano chmod 755 /etc/init.d/oscam.sh
    • update-rc.d oscam.sh defaults


    which method is recommended ?

    together we grow - ferdi

  • You are confusing starting oscam from boot with restarting oscam daily and clearing memory cache with cron tasks. To start Oscam on each boot it is simple


    edit rc.local - add

    Code
    /var/local/oscam &


    to a line just above where it says 'exit 0'


    that is it.

    If I take a while to respond, you can see why.....


    :red:

  • I would use more proper shell..



    Write this on a oscam txtfile and Open Filezilla and upload “oscam” file to “/etc/init.d”.

    Code
    sudo chmod 755 /etc/init.d/oscam
    sudo update-rc.d /etc/init.d/oscam defaults


    There..

  • Please explain the benefits of this. I have mine restarting at boot in the way I described, and it is one line and I have not encountered any problems at all.

    If I take a while to respond, you can see why.....


    :red:

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!