6 DAEMON
=/usr
/bin
/spacenavd
8 PID
=`pidof -o %PPID $DAEMON`
11 stat_busy
"Starting Spacenavigator Daemon"
12 [ -z "$PID" ] && $DAEMON
21 stat_busy
"Stopping Spacenavigator Daemon"
22 [ ! -z "$PID" ] && kill $PID &> /dev
/null
36 echo "usage: $0 {start|stop|restart}"