5 printf "Starting oslrd daemon: "
6 start-stop-daemon
-S -q -x /usr
/sbin
/olsrd
-- -d 0 -pidfile /run
/olsrd.pid
7 [ $?
= 0 ] && echo "OK" ||
echo "FAIL"
10 printf "Stopping olsrd daemon: "
11 start-stop-daemon
-K -q -p /run
/olsrd.pid
12 [ $?
= 0 ] && echo "OK" ||
echo "FAIL"
19 echo "Usage: $0 {start|stop|restart}"