fcln banner

mercredi 20 février 2013

How To : Running Gbox and CCcam on the same box


Running Gbox and CCcam on the same box


1st Script
 copy this in gbox_cam.sh

 —————————————
 CAMNAME=”GbOx_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/Newcs* /tmp/atack* /tmp/debug*
 }
 # This method starts Gbox > CCcam (That order)
 start_cam ()
 {
 /var/script/AES_Gbox.sh &
 sleep 5
 /var/bin/gbox &
 sleep 30
 /var/bin/CCcam_2.0.3 &
 }
 # This method stops gbox and CCcam and then calls the tmp cleanup method
 stop_cam ()
 {
 touch /tmp/gbox.kill
 /bin/prockill gbox
 /bin/prockill CCcam_2.0.3
 killall -9 newcs cs2gbox 2> /dev/null
 remove_tmp
 }
 case “$1″ in
 start)
 echo “[SCRIPT] $1: $CAMNAME”
 start_cam
 ;;
 stop)
 echo “[SCRIPT] $1: $CAMNAME”
 stop_cam
 ;;
 restart)
 echo “Restarting $CAMNAME”
 stop_cam
 start_cam
 ;;
 *)
 “$0″ stop
 exit 1
 ;;
 esac
 exit 0
 ————————————–
 rename ur cccam ver in CCcam_2.0.3 or CCcam_2.0.4 ,CCcam_2.0.5
 and reboot
 this scrip is for Gemini i have test it it works very will u have gbox and cccam together .
 —————————————-
 You just have to take care about the name of both cams. It must be the same as the cam files in your dreambox.
 You need about 30 sec delay between the start of gbox and the start of CCcam : even if gbox starts first , CCcam will take your local card (it is faster) so you will appear with no local for your gbox partners.

Aucun commentaire:

Enregistrer un commentaire