]> git.pld-linux.org Git - packages/arpwatch.git/commitdiff
- LSB compliance
authorankry <ankry@pld-linux.org>
Sat, 17 May 2003 21:03:35 +0000 (21:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arpwatch.init -> 1.17

arpwatch.init

index 7125a26f16a488978f0a1d154b8b7928950c8d09..18514dabbe10f42ffd88f09c91dff8cc9479319b 100644 (file)
@@ -24,7 +24,7 @@ else
        exit 0
 fi
 
-
+RETVAL=0
 # See how we were called.
 case "$1" in
   start)
@@ -55,19 +55,20 @@ case "$1" in
                rm -f /var/lock/subsys/arpwatch >/dev/null 2>&1
        else
                msg_not_running "arpwatch"
-               exit 1
        fi      
        ;;
   status)
        status arpwatch
+       exit $?
        ;;
-  restart|reload)
+  restart|force-reload)
        $0 stop
        $0 start
+       exit $?
        ;;
   *)
-       msg_usage "$0 {start|stop|restart|reload|status}"
-       exit 1
+       msg_usage "$0 {start|stop|restart|force-reload|status}"
+       exit 3
 esac
 
 exit $RETVAL
This page took 0.09344 seconds and 4 git commands to generate.