Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > DreamBox > Setting Dream

Setting Dream Discussion, Gemini CCcam-Gbox Script help at DreamBox forum; currently running gbox 225d on gemini 4.60 for dream 7020 but finding it hard to locate a working script for ...

Reply
 
LinkBack Thread Tools Display Modes
Gemini CCcam-Gbox Script help
Old
  (#1)
lop48
Permanent Banned
 
lop48's Avatar
 
Offline
Posts: 21

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 57
Magic: 7 / 1452
Experience: 31%

Thanks: 0
Thanked 3 Times in 3 Posts
Join Date: Jul 2009
Lightbulb Gemini CCcam-Gbox Script help - 17-July-2009, 19:34

currently running gbox 225d on gemini 4.60 for dream 7020 but finding it hard to locate a working script for CCcam211 Newcs Gbox

im wondering if this wil work ? i cant test untill monday so ask the question


#!/bin/sh
CAMNAME="GbOx-NewCS-CCcam"
USERNAME=""
ZAPTIME=8
CAMID=970
DVBSET=1
INFOFILE="ecm.info"
# end


# This method cleans up /tmp folder of gbox files
remove_tmp ()
{
rm -rf /tmp/*info* /tmp/*gbox* /tmp/*online* /tmp/*share*/tmp/atack* /tmp/debug*
}

# This method starts cardserver_6.5 > CS2Gbox > Gbox (That order)
start_cam ()
{
/var/bin/newcs &
sleep 5
/var/bin/gbox &
sleep 180
/var/bin/CCcam_211 & sleep 180
}

# This method stops newcs cs2gbox and gbox and then calles the tmp cleanup method
stop_cam ()
{
touch /tmp/gbox.kill

/bin/prockill gbox
/bin/prockill CCcam_211
killall -9 gbox CCcam_211 2> /dev/null
remove_tmp
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
start_cam
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
stop_cam
;;
restart)
echo "Restaring $CAMNAME"
stop_cam
start_cam
;;
*)
"$0" stop
exit 1
;;
esac

exit 0
   
Reply With Quote
Reply

Bookmarks

Tags
cccam-gbox, gemini, script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox