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
  1. #1
    Junior Member Teacher
    Join Date
    Apr 2003
    Location
    Never mind
    Posts
    449
    Posts Thanks / Likes

    Default The Gemini2 Project 4.20 DM800 + gbox

    Se pare ca impreuna cu 4.20 au schimbat putin si in scripting.
    Vechiul script pt pornirea gbox-ului (care cu 4.00 functiona) nu mai functioneaza.
    Ma poate ajuta cineva?

  2. #2
    Junior Member Teacher
    Join Date
    Jun 2007
    Location
    26.12°E / 44.42°N
    Posts
    473
    Posts Thanks / Likes

    Default

    incearca-l pe asta
    l-am adaptat manual, nu sint foarte convins de liniile infofile, dar functioneaza!
    daca ai probleme, posteaza scriptul tau si incercam sa-l modificam

    Code:
    CAMD_ID=4099
    CAMD_NAME="gBox˛"
    CAMD_BIN=gbox
    
    INFOFILE_A=ecm0.info
    INFOFILE_B=ecm1.info
    INFOFILE_C=ecm2.info
    INFOFILE_D=ecm3.info
    #Expert window
    INFOFILE_LINES=1111111111000000
    #Zapp after start
    REZAPP=0
    
    ########################################
    
    logger $0 $1
    echo $0 $1
    
    remove_tmp () {
        rm -rf /tmp/ecm.info /tmp/pid.info /tmp/*gbox* /tmp/share.* /tmp/debug.txt
    }
    
    case "$1" in
        start)
            echo "[SCRIPT] $1: $CAMNAME"
            remove_tmp
            /usr/bin/gbox.camd &
            sleep 3
            start-stop-daemon --start --quiet --background --exec /usr/bin/gbox
        ;;
    
        stop)
            echo "[SCRIPT] $1: $CAMNAME"
            touch /tmp/gbox.kill
            killall -9 gbox.camd
            remove_tmp
        ;;
    
    *)
    $0 stop
    exit 1
    # exit 0
    ;;
    esac
    
    exit 0

 

 

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