7 PIDFILE
="/var/run/rdnssd.pid"
8 PID
=`cat "$PIDFILE" 2>/dev/null`
11 stat_busy
"Starting RDNSS Daemon"
12 if [ ! -z "$PID" -a -e "/proc/$PID" ]; then
13 stat_append
"-- Already running"
16 /usr
/sbin
/rdnssd
-p "$PIDFILE" \
17 ${MERGEHOOK/*/-H} "$MERGEHOOK" \
18 ${RUN_AS/*/-u} "$RUN_AS"
29 stat_busy
"Stopping RDNSS Daemon"
30 if [ -z "$PID" ]; then
31 stat_append
"-- Not running"
34 kill $PID &> /dev
/null
49 echo "usage: $0 {start|stop|restart}"