aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-12-29 23:48:38 +0800
committerpav <pav@FreeBSD.org>2005-12-29 23:48:38 +0800
commit2f7066481092b05bcfca4c6d18384150e38fb6e6 (patch)
tree06bf492062c82e93b5f06e560dca0f0495014009 /net-mgmt
parentb50569555cff240606a4b4970b7ddb739dfc3da5 (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--net-mgmt/arpwatch/files/arpwatch.sh.in5
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"