Re: RSI E2 0.3 for AZBox Elite HD, Premium HD, Premium HD+ and Ultra HD 0.3
Mgcamd_1.38_cam.sh
#!/bin/sh
CAMD_ID=4096
CAMD_NAME="MgCamd 1.38"
INFOFILE_A=ecm.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* /tmp/*mbox* /tmp/*share* /tmp/*.pid* /tmp/*sbox* /tmp/*oscam*
}
case "$1" in
start)
remove_tmp
/usr/bin/mgcamd_1.38 &
;;
stop)
killall -9 mgcamd_1.38 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
Mgcamd_1.38_cam.sh
#!/bin/sh
CAMD_ID=4096
CAMD_NAME="MgCamd 1.38"
INFOFILE_A=ecm.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* /tmp/*mbox* /tmp/*share* /tmp/*.pid* /tmp/*sbox* /tmp/*oscam*
}
case "$1" in
start)
remove_tmp
/usr/bin/mgcamd_1.38 &
;;
stop)
killall -9 mgcamd_1.38 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
Комментарий