Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 2 of 2

Thread: help structure oscam files

  1. #1

    Title
    Junior Member
    Join Date
    Nov 2010
    Posts
    14
    Thanks
    13
    Thanked 0 Times in 0 Posts

    help structure oscam files

    If you want to try to replace the oscam, where the various files of cam?

    The config files are: / etc / tuxbox / config
    the executable file :/ usr / softcams

    I can not find the script file that starts the cam. What is your ritch?

  2. #2

    Title
    Senior Member
    Join Date
    Oct 2012
    Posts
    190
    Thanks
    22
    Thanked 18 Times in 14 Posts
    root@gbquad:~# cat /usr/softcams/Oscam.sh
    #!/bin/bash

    CAMNAME="Oscam"

    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

    sleep 1

    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
    esac

    exit 0
    grab -o -p /tmp/grab.png #screen grab without the image of the channel you are watching
    grab -d -p /tmp/grab.png #screen grab with the image of the channel you are watching

  3. The Following User Says Thank You to XabiX For This Useful Post:

    cacash (29-01-13)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.