Lines 65-71
Link Here
|
65 |
case "$1" in |
65 |
case "$1" in |
66 |
*start) |
66 |
*start) |
67 |
for interface in ${arpwatch_interfaces}; do |
67 |
for interface in ${arpwatch_interfaces}; do |
68 |
eval options=\$arpwatch_${interface}_options |
68 |
rc_interface=`echo ${interface} | sed 's/\./_/g'` |
|
|
69 |
eval options=\$arpwatch_${rc_interface}_options |
69 |
command_args="-i ${interface} ${options} -f ${arpwatch_dir}/arp.${interface}.dat" |
70 |
command_args="-i ${interface} ${options} -f ${arpwatch_dir}/arp.${interface}.dat" |
70 |
pidfile="/var/run/arpwatch-${interface}.pid" |
71 |
pidfile="/var/run/arpwatch-${interface}.pid" |
71 |
run_rc_command "$1" |
72 |
run_rc_command "$1" |