add cccam to webif

Origin commit data
------------------
Commit: fda24c0888
Author: Knicko007 <knicko@glj.servebbs.com>
Date: 2019-06-26 (Wed, 26 Jun 2019)
This commit is contained in:
Knicko007
2019-06-26 22:06:43 +02:00
committed by vanhofen
parent 7fd631913c
commit bd2a281867
3 changed files with 94 additions and 0 deletions

View File

@@ -88,6 +88,20 @@ case "$1" in
echo "[$BNAME] ncam-reset"
/etc/init.d/camd reset ncam >/dev/console
;;
cccam_start)
echo "[$BNAME] cccam-start"
touch /var/etc/.cccam
/etc/init.d/camd start cccam >/dev/console
;;
cccam_stop)
echo "[$BNAME] cccam-stop"
rm -rf /var/etc/.cccam
/etc/init.d/camd stop cccam >/dev/console
;;
cccam_reset)
echo "[$BNAME] cccam-reset"
/etc/init.d/camd reset cccam >/dev/console
;;
doscam_start)
echo "[$BNAME] doscam-start"
touch /var/etc/.doscam