summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta-networking/recipes-daemons/radvd/files/radvd.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.init b/meta-networking/recipes-daemons/radvd/files/radvd.init
index 921384cb0..529529293 100755
--- a/meta-networking/recipes-daemons/radvd/files/radvd.init
+++ b/meta-networking/recipes-daemons/radvd/files/radvd.init
@@ -92,6 +92,10 @@ case "$1" in
92 ;; 92 ;;
93 stop) 93 stop)
94 echo -n "Stopping $DESC: " 94 echo -n "Stopping $DESC: "
95 if ! [ -f $PIDFILE ] ; then
96 echo "not running."
97 exit 0
98 fi
95 start-stop-daemon --oknodo --stop --pidfile $PIDFILE \ 99 start-stop-daemon --oknodo --stop --pidfile $PIDFILE \
96 --exec $DAEMON 100 --exec $DAEMON
97 restore_settings $SAVED_SETTINGS 101 restore_settings $SAVED_SETTINGS