add osmod (oscam-smod); drop cs2gbox and newcs

Origin commit data
------------------
Commit: 6c4f2be6d5
Author: Knicko007 <knicko@glj.servebbs.com>
Date: 2019-06-25 (Tue, 25 Jun 2019)
This commit is contained in:
Knicko007
2019-06-25 23:29:56 +02:00
committed by vanhofen
parent 6bd798697e
commit b8dd8d8da0
13 changed files with 68 additions and 126 deletions

View File

@@ -46,20 +46,6 @@ case "$1" in
echo "[$BNAME] gbox-reset"
/etc/init.d/camd reset gbox >/dev/console
;;
cs2gbox_start)
echo "[$BNAME] cs2gbox-start"
touch /var/etc/.cs2gbox
/etc/init.d/camd start cs2gbox >/dev/console
;;
cs2gbox_stop)
echo "[$BNAME] cs2gbox-stop"
rm -rf /var/etc/.cs2gbox
/etc/init.d/camd stop cs2gbox >/dev/console
;;
cs2gbox_reset)
echo "[$BNAME] cs2gbox-reset"
/etc/init.d/camd reset cs2gbox >/dev/console
;;
oscam_start)
echo "[$BNAME] oscam-start"
touch /var/etc/.oscam
@@ -74,6 +60,20 @@ case "$1" in
echo "[$BNAME] oscam-reset"
/etc/init.d/camd reset oscam >/dev/console
;;
osmod_start)
echo "[$BNAME] osmod-start"
touch /var/etc/.osmod
/etc/init.d/camd start osmod >/dev/console
;;
osmod_stop)
echo "[$BNAME] osmod-stop"
rm -rf /var/etc/.osmod
/etc/init.d/camd stop osmod >/dev/console
;;
osmod_reset)
echo "[$BNAME] osmod-reset"
/etc/init.d/camd reset osmod >/dev/console
;;
ncam_start)
echo "[$BNAME] ncam-start"
touch /var/etc/.ncam
@@ -102,20 +102,6 @@ case "$1" in
echo "[$BNAME] doscam-reset"
/etc/init.d/camd reset doscam >/dev/console
;;
newcs_start)
echo "[$BNAME] newcs-start"
touch /var/etc/.newcs
/etc/init.d/camd start newcs >/dev/console
;;
newcs_stop)
echo "[$BNAME] newcs-stop"
rm -rf /var/etc/.newcs
/etc/init.d/camd stop newcs >/dev/console
;;
newcs_reset)
echo "[$BNAME] newcs-reset"
/etc/init.d/camd reset newcs >/dev/console
;;
*)
echo "[$BNAME] Parameter wrong: $*"
;;