L
lionet
Amigo de Lonas
- Registrado
- 10 Oct 2006
- Mensajes
- 40
- Reacciones
- 0
- Puntos
- 9
hola no consigo hacer andar este sgrip para esta imagen de demonisat y necesito ayuda alguien sabe o me puede ayudar?
gracias
esta es la vase
#!/bin/sh
########################################
###### Demonisat Team ######
### http://demonisat.info ###
########################################
CAMD_ID=6094
CAMD_NAME="CCcam 2.1.3"
CAMD_BIN=CCcam_2.1.3
INFOFILE_A=ecm0.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
INFOFILE_E=ecm4.info
INFOFILE_F=ecm5.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
logger $0 $1
echo $0 $1
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
remove_tmp
/usr/bin/CCcam_2.1.3 -C /etc/CCcam.cfg &
;;
stop)
killall -9 CCcam_2.1.3 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
y asi lo tengo
#!/bin/sh
########################################
### Sbox ###
########################################
CAMD_ID=6094
CAMD_NAME="CCcam/Sbox/Mgcam"
CAMD_BIN1=mgcamd_138
CAMD_BIN=CCcam_2.1.3
CAMD_CS_SRV_BIN=sbox.mips
INFOFILE_A=ecm0.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
logger $0 $1
echo $0 $1
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/mg*
}
case "$1" in
start)
remove_tmp
/usr/bin/$CAMD_CS_SRV_BIN -c &
sleep 7
/usr/bin/$CAMD_BIN -c &
sleep 7
/usr/bin/$CAMD_BIN1 -c &
;;
stop)
killall -9 $CAMD_CS_SRV_BIN $CAMD_BIN 2>/dev/null
sleep 2
killall -9 $CAMD_BIN1 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
gracias
esta es la vase
#!/bin/sh
########################################
###### Demonisat Team ######
### http://demonisat.info ###
########################################
CAMD_ID=6094
CAMD_NAME="CCcam 2.1.3"
CAMD_BIN=CCcam_2.1.3
INFOFILE_A=ecm0.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
INFOFILE_E=ecm4.info
INFOFILE_F=ecm5.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
logger $0 $1
echo $0 $1
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
remove_tmp
/usr/bin/CCcam_2.1.3 -C /etc/CCcam.cfg &
;;
stop)
killall -9 CCcam_2.1.3 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
y asi lo tengo
#!/bin/sh
########################################
### Sbox ###
########################################
CAMD_ID=6094
CAMD_NAME="CCcam/Sbox/Mgcam"
CAMD_BIN1=mgcamd_138
CAMD_BIN=CCcam_2.1.3
CAMD_CS_SRV_BIN=sbox.mips
INFOFILE_A=ecm0.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
logger $0 $1
echo $0 $1
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/mg*
}
case "$1" in
start)
remove_tmp
/usr/bin/$CAMD_CS_SRV_BIN -c &
sleep 7
/usr/bin/$CAMD_BIN -c &
sleep 7
/usr/bin/$CAMD_BIN1 -c &
;;
stop)
killall -9 $CAMD_CS_SRV_BIN $CAMD_BIN 2>/dev/null
sleep 2
killall -9 $CAMD_BIN1 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0