diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-12-29 15:48:38 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-12-29 15:48:38 +0000 |
commit | 155bf8b7d9c1436513ace399e171ee84047c9277 (patch) | |
tree | abde70dc8dd31803ae6b1ac31375fb7d2ed341de /net-mgmt/arpwatch | |
parent | 10876a79a75ebedd9faee909fe816846de2f0895 (diff) |
- Allow starting on more than one interface
Reported by: Florian C. Smeets <flo@kasimir.com>
Notes
Notes:
svn path=/head/; revision=152357
Diffstat (limited to 'net-mgmt/arpwatch')
-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" |