7 PID
=$
(pidof
-o %PPID
/usr
/bin
/oscam
)
11 stat_busy
"Starting oscam"
13 if [[ -z $PID ]] && /usr
/bin
/oscam
$OSCAM_ARGS; then
22 stat_busy
"Stopping oscam"
23 if [[ ! -z $PID ]] && killall
/usr
/bin
/oscam
&> /dev
/null
; then
36 echo "Usage: $0 {start|stop|restart}"