]> git.pld-linux.org Git - packages/ifplugd.git/commitdiff
- removed reload: it should work without stopping the service; resume/suspend to...
authorankry <ankry@pld-linux.org>
Mon, 8 Sep 2003 13:21:15 +0000 (13:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ifplugd.init -> 1.2

ifplugd.init

index 0912f60aeb721cf5bbc2b1558c30365b98f7d224..86e641adb93a9fabbf298fedc6ac9c279306b28d 100644 (file)
@@ -86,8 +86,9 @@ case "$1" in
            msg_not_running ifplugd
        fi
        ;;      
-  restart)
+  restart|force-reload)
        $0 stop
+       sleep 2
        $0 start
        exit $?
        ;;
@@ -98,19 +99,8 @@ case "$1" in
        done
        exit $?
        ;;
-  reload|force-reload)
-       if [ -f /var/lock/subsys/ifplugd ]; then
-               $0 stop
-               sleep 2
-               $0 start
-               RETVAL=$?
-       else
-               msg_not_running ifplugd >&2
-               exit 7
-       fi
-       ;;
   *)
-       msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
+       msg_usage "$0 {start|stop|restart|force-reload|status|resume|suspend}"
        exit 3
 esac
 
This page took 0.027556 seconds and 4 git commands to generate.