1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Allow starting on more than one interface

Reported by:	Florian C. Smeets <flo@kasimir.com>
This commit is contained in:
Pav Lucistnik 2005-12-29 15:48:38 +00:00
parent 10876a79a7
commit 155bf8b7d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152357
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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"