Browse Source

- drop osemu support

master
vanhofen 5 years ago
parent
commit
6bdfc0ce70
  1. 32
      archive-imagefiles/scripts/camd.init

32
archive-imagefiles/scripts/camd.init

@ -6,7 +6,6 @@
FLAGDIR="/var/etc"
F_MGCAM=".mgcamd"
F_NEWCS=".newcs"
F_OSEMU=".osemu"
F_DOSCAM=".doscam"
F_OSCAM=".oscam"
F_CCCAM=".cccam"
@ -66,30 +65,6 @@ NEWCS_Action()
esac
}
OSEMU_Action()
{
case $1 in
"start" )
SHOWINFO "start osemu"
if [ -x /var/bin/osemu.sh ]; then
/var/bin/osemu.sh &
else
/var/bin/osemu -a user:password -p 11000 -b
fi
;;
"stop" )
SHOWINFO "stop osemu"
killall osemu
sleep 1
;;
* )
OSEMU_Action "stop"
sleep 1
OSEMU_Action "start"
;;
esac
}
DOSCAM_Action()
{
case $1 in
@ -258,9 +233,6 @@ CAMD_Action()
"gbox")
GBOX_Action $ACTION
;;
"osemu")
OSEMU_Action $ACTION
;;
"doscam")
DOSCAM_Action $ACTION
;;
@ -288,10 +260,6 @@ CAMD_Action()
GBOX_Action $ACTION
fi
if [ -e $FLAGDIR/$F_OSEMU ]; then
OSEMU_Action $ACTION
fi
if [ -e $FLAGDIR/$F_DOSCAM ]; then
DOSCAM_Action $ACTION
fi

Loading…
Cancel
Save