6 EXE
=/usr
/bin
/sams2daemon
7 LOCKFILE
=/var
/lock
/samsd
10 PID
=`pidof -o %PPID $EXE`
14 stat_busy
"Starting SAMS Daemon"
24 stat_busy
"Stopping SAMS Daemon"
25 [ ! -z "$PID" ] && kill $PID &> /dev
/null
39 echo "usage: $0 {start|stop|restart}"