diff options
Diffstat (limited to 'net-mgmt/arpwatch-devel/files/arpwatch.sh')
-rw-r--r-- | net-mgmt/arpwatch-devel/files/arpwatch.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/net-mgmt/arpwatch-devel/files/arpwatch.sh b/net-mgmt/arpwatch-devel/files/arpwatch.sh deleted file mode 100644 index 1f4ad205b3fe..000000000000 --- a/net-mgmt/arpwatch-devel/files/arpwatch.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -prog=$(realpath $0) || exit 1 -dir=${prog%/*} -PREFIX=${dir%/etc/rc.d} - -if [ ."$dir" = ."$prog" -o ."$PREFIX" = ."$dir" ] -then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case $1 in -start) - if [ -x "$PREFIX"/sbin/arpwatch -a -d "$PREFIX"/arpwatch ]; then - "$PREFIX"/sbin/arpwatch && echo -n ' arpwatch' - fi - ;; -stop) - killall arpwatch && echo -n ' arpwatch' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 |