8 PID
=$
(pidof
-o %PPID
$BIN)
12 stat_busy
"Starting unscd"
13 [[ -z "$PID" ]] && $BIN $UNSCD_OPTIONS
14 if (( $?
== 0 )); then
22 stat_busy
"Stopping unscd"
23 [[ ! -z "$PID" ]] && kill $PID &> /dev
/null
24 if (( $?
== 0 )); then
37 echo "usage: $0 {start|stop|restart}"
40 # vim:set ts=2 sw=2 ft=sh noet: