]> git.pld-linux.org Git - packages/arpwatch.git/commitdiff
minor changes
authorwojtek <wojtek@pld.org.pl>
Mon, 17 May 1999 06:15:05 +0000 (06:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arpwatch.init -> 1.2

arpwatch.init

index 5a117cdc532a11b0719f64b38d28d24241bd6034..c0eb05242f47c7ed6f956793acee5c75c5ce8a08 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # chkconfig: - 55 45
 # description: The arpwatch daemon attempts to keep track of ethernet/ip \
@@ -12,7 +12,7 @@
 . /etc/sysconfig/network
 
 # Check that networking is up.
-if [ ${NETWORKING} = "no" ]
+if [ "${NETWORKING}" = "no" ]
 then
        exit 0
 fi
@@ -21,7 +21,7 @@ fi
 case "$1" in
   start)
        show Starting arpwatch:
-       daemon arpwatch
+       daemon +2 arpwatch
        touch /var/lock/subsys/arpwatch
        ;;
   stop)
@@ -37,7 +37,7 @@ case "$1" in
        $0 start
        ;;
   *)
-       echo "Usage: arpwatch {start|stop|status|restart|reload}"
+       echo "Usage: $0 {start|stop|status|restart|reload}"
        exit 1
 esac
 
This page took 0.040476 seconds and 4 git commands to generate.