mpcs

arres2k

DZSatien Impliqué
Inscrit
11/11/07
Messages
100
Salut, j'ai une dreambox 500, je cherche un script qui fais lancé mpcs,car on ce moment je le lance manuellement avec telnet quand je reboot ma dream

Si quelqu'un a une idée...
 
jai trouver ca sur un autre forum

#!/bin/sh
########################################
###### Powered by The Gemini Team ######
### *************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 + MPCS"
USERNAME="Gbox + MPCS"
ZAPTIME=6
CAMID=9515
DVBSET=0
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 cardserver_6.1 > CS2Gbox > Gbox (That order)
start_cam ()
{
/var/bin/mpcs &
sleep 15
/var/bin/gbox &
}

# This method stops newcs cs2gbox and gbox and then calles the tmp cleanup method
stop_cam ()
{
killall -9 gbox
sleep 2
killall -9 mpcs
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
 
Personne n'a de solution du comment booté mpcs, ou le faire booté au demarrage de la dreambox ? ...
 
Salut , moi je n'arrive pas à faire fonctionner mpcs sur DM500 malgré une aide trés appréciee de la part de quelqu'un du forum .Pourrais tu envoyer le fichier même par MP
REMERCIEMENTS
 
Retour
Haut