]> git.pld-linux.org Git - packages/arpwatch.git/commitdiff
- fixed wrong starting message and bad stopping procedure
authormikrobi <robin@atm.com.pl>
Wed, 26 Apr 2000 13:35:54 +0000 (13:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arpwatch.init -> 1.9

arpwatch.init

index 47ab15b1ee80fe484d6f966668bd16d154c55f87..763efdd4ac74e4a31d64a349b09aef6f05d86682 100644 (file)
@@ -33,7 +33,7 @@ case "$1" in
                          |sed 's/[0-9]*: \([a-zA-Z0-9]*\)[@:].*/\1/'|xargs`"
                fi
                for IFC in $INTERFACES; do
-                       msg_stopping "arpwatch"
+                       msg_starting "arpwatch"
                        touch /var/lib/arpwatch/$IFC.dat
                        daemon arpwatch -i $IFC -f /var/lib/arpwatch/$IFC.dat
                        RETVAL=$?
@@ -44,7 +44,6 @@ case "$1" in
        fi
        ;;
   stop)
-       rm -f /var/lock/subsys/arpwatch
        if [ -f /var/lock/subsys/arpwatch ]; then
                msg_stopping "arpwatch"
                killproc arpwatch
This page took 0.083905 seconds and 4 git commands to generate.