AW: Startscript Mbox/NewCS DM 800
nur mal so ein paar beisiel von meinem polsat projekt!
startscript EDG nemisis e1:
#!/bin/sh
#emuname=CCcam 2.0.4 NEWCS 1.67 MPCS
#ecminfofile=ecm.info
remove_tmp () {
rm -rf /tmp/ecm.info /tmp/ecm0.info /tmp/pid.info /tmp/cardinfo
}
case "$1" in
start)
remove_tmp
sleep 1
/var/bin/newcs.167 &
sleep 5
/var/bin/mpcs_0.9d &
sleep 8
/var/bin/CCcam_2.0.4 &
;;
stop)
touch /tmp/CCcam.kill
killall newcs.167 mpcs_0.9d CCcam_2.0.4 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 1
;;
esac
exit 0
selbes startscript mit noch mehreren emus für nabilo e1:
# osd-name n = <softCAM OSD Name>
# emulator n = <softCAM Description>
# camd n = <CAMD binary>
# daemon n = <daemon binary>;<daemon binary>;<daemon binary>; etc etc
# kill n = <extra process that needs killing>;<extra process that needs killing>; etc etc
# sleep n = <time in seconds to wait between daemon launches
# zap-sleep n = <time in seconds to wait between first daemon launch and zap>
#
# Where n is the softCAM number 1 - 10
#
osd-name 1 = Common Interface
emulator 1 = Common Interface
camd 1 =
daemon 1 =
kill 1 =
sleep 1 =
zap-sleep 1 =
osd-name 4= Mgcamd1.31+Ncs
emulator 4= Mgcamd1.31cs
camd 4=
daemon 4= newcs_1.62;mgcamd_1.31
kill 4=
sleep 4= 7
zap-sleep 4= 8
osd-name 5= newcs+mpcs+CCcam
emulator 5= newcs_1.62+mpcs+CCcam_2.0.4
camd 5=
daemon 5= newcs_1.62;mpcs;CCcam_2.0.4
kill 5=
sleep 5= 6
zap-sleep 5= 3
osd-name 2= CCcam 2.0.4
emulator 2= CCcam 2.0.4
camd 2=
daemon 2= CCcam_2.0.4
kill 2=
sleep 2= 4
zap-sleep 2= 4
# End of SoftCam List
campath = /var/bin/
defaultSoftCam = 4
# Remembered providers and channels
man sieht ganz kleine aber feine unterschiede!!!!
nabilo war eigentlich für solche scripte am einfachsten!!!