eu am o config mai veche gbox mgcamd, care merge , prea mare avantaj nu mai e de la mgcamd ... dar in sfarsit... merge ..si asta e bine.
Facand Domnii de la Focus noile schimbari, cartela nu mai merge in gbox, dar cu scma 358 merge perfect si atunci mi-a venit ideea "imperecherii". Am luat scriptul de la gb+mgcamd si l-am adaptat la scam si....
gbox merge si deschide ....ce se poate deschide
scam e pornit ( verifiacat cu telnetul) , dar nu deschide nimic.
aici avertzi scriptul, poate are careva vre-o idee ... sau poate ca nici nu se poate ce vreau eu...

##!/bin/sh
########################################
###### Powered by The Gemini Team ######
### http://www.i-have-a-dreambox.com ###
########################################
# camid #
# 0000 = Commom Interface #
# 0001->0199 = for User Experiment #
# 0199 = Dccamd #
# 0200->0299 = Fbiss #
# 0300->0399 = Camd3 #
# 0400->0499 = Camx #
# 0500->0599 = Camx-radegast-cs #
# 0600->0699 = Evocamd #
# 0700->0799 = Evocamd-ronlad-cs #
# 0800->0899 = Mgcamd #
# 0900->0999 = Mgcamd-ronald-cs #
# 1000->1099 = Newcamd #
# 1100->1199 = Newcamd-ronald-cs #
# 1200->1299 = Newcamd-spider #
# 1300->1399 = Radegast #
# 1400->1499 = Ronald-cs #
# 1500->1599 = Scam #
# 1600->1699 = Scam-ronald-cs #
# 1700->1799 = Cardserver #
# 1800->1899 = Mgcamd with Cardserver #
# 9800->9899 = reserved #
# 9900->9999 = reserved #
########################################
CAMNAME="gbox & scam"
USERNAME="gbox & scam"
ZAPTIME=8
CAMID=0014
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*
rm -rf /tmp/ecm.info /tmp/pid.info /tmp/cardinfo

}


start_cam ()
{
/var/bin/gbox &
sleep 3
/var/bin/scam_3.58_cam &
sleep 3

}

# 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 scam_3.58_cam

killall -9 gbox scam_3.58_cam 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