Hello colleagues;
I have the following problem:
Of DM 500s are installed, newcs_1.67 + CCcam_2.1.3, works well.
But when restart the electricity, newcs, could not read the card.
When you reset it manually remote, no problems, works.
I want when I restart the electricity to start two emulator, newcs_1.67 + CCcam_2.1.3, read and NewCS card.
Please help!
This is my script:
I have the following problem:
Of DM 500s are installed, newcs_1.67 + CCcam_2.1.3, works well.
But when restart the electricity, newcs, could not read the card.
When you reset it manually remote, no problems, works.
I want when I restart the electricity to start two emulator, newcs_1.67 + CCcam_2.1.3, read and NewCS card.
Please help!
This is my script:
Code:
CAMNAME="CCcam 2.1.3/NewCS 1.67"
USERNAME=""
ZAPTIME=6
CAMID=6272
DVBSET=0
INFOFILE="ecm.info"
INFOFILELINES=1111111111000000
# end
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/var/bin/newcs_1.67 &
sleep 15
/var/bin/CCcam_2.1.3 &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
kill `pidof newcs_1.67 `
killall newcs_1.67 CCcam_2.1.3 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0