marra
Inactive User
this should help digi, ive taken this form a tut from another forum, this is how i did it with my tm9100
1st install gbox 2.1 cam
2nd copy the text below in to a file.txt :
CAMNAME="Gbox"
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 Gbox (That order)
start_cam ()
{
/var/bin/gbox &
}
# This method stops gbox and then calles the tmp cleanup method
stop_cam ()
{
touch /tmp/gbox.kill
/bin/prockill gbox
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
Rename this file.txt to: gbox_cam.sh
Ftp this file to: var/script
telnet:
cd var/script
chmod 744 gbox_cam.sh
then you just need to setup you cwshare.cfg and add it to var/keys and dont forget to chmod to 744.
1st install gbox 2.1 cam
2nd copy the text below in to a file.txt :
CAMNAME="Gbox"
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 Gbox (That order)
start_cam ()
{
/var/bin/gbox &
}
# This method stops gbox and then calles the tmp cleanup method
stop_cam ()
{
touch /tmp/gbox.kill
/bin/prockill gbox
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
Rename this file.txt to: gbox_cam.sh
Ftp this file to: var/script
telnet:
cd var/script
chmod 744 gbox_cam.sh
then you just need to setup you cwshare.cfg and add it to var/keys and dont forget to chmod to 744.