diff options
author | pav <pav@FreeBSD.org> | 2005-12-29 23:48:38 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-12-29 23:48:38 +0800 |
commit | 2f7066481092b05bcfca4c6d18384150e38fb6e6 (patch) | |
tree | 06bf492062c82e93b5f06e560dca0f0495014009 /net-mgmt | |
parent | b50569555cff240606a4b4970b7ddb739dfc3da5 (diff) | |
download | freebsd-ports-gnome-2f7066481092b05bcfca4c6d18384150e38fb6e6.tar.gz freebsd-ports-gnome-2f7066481092b05bcfca4c6d18384150e38fb6e6.tar.zst freebsd-ports-gnome-2f7066481092b05bcfca4c6d18384150e38fb6e6.zip |
- Allow starting on more than one interface
Reported by: Florian C. Smeets <flo@kasimir.com>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/arpwatch/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/arpwatch/files/arpwatch.sh.in | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile index a5d2244d3382..6af570b3fa77 100644 --- a/net-mgmt/arpwatch/Makefile +++ b/net-mgmt/arpwatch/Makefile @@ -7,7 +7,7 @@ PORTNAME= arpwatch PORTVERSION= 2.1.a13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.ee.lbl.gov/ DISTNAME= arpwatch-2.1a13 diff --git a/net-mgmt/arpwatch/files/arpwatch.sh.in b/net-mgmt/arpwatch/files/arpwatch.sh.in index 12521d8ef0f8..260396a571f9 100644 --- a/net-mgmt/arpwatch/files/arpwatch.sh.in +++ b/net-mgmt/arpwatch/files/arpwatch.sh.in @@ -67,8 +67,9 @@ case ${arpwatch_interfaces} in if [ "$1" = "start" ]; then for interface in ${arpwatch_interfaces}; do eval options=\$arpwatch_${interface}_options - command_args="-i ${interface} ${options} -f arp.${interface}.dat" - run_rc_command "$1" + command_args="-i ${interface} ${options} -f arp.${interface}.dat" + pidfile="/var/run/arpwatch-${interface}.pid" + run_rc_command "$1" done else run_rc_command "$1" |