diff options
Diffstat (limited to 'etc/rc.d/static_arp')
-rw-r--r-- | etc/rc.d/static_arp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.d/static_arp b/etc/rc.d/static_arp index 582518f..816d581 100644 --- a/etc/rc.d/static_arp +++ b/etc/rc.d/static_arp @@ -34,6 +34,7 @@ # KEYWORD: nojail . /etc/rc.subr +. /etc/network.subr name="static_arp" start_cmd="static_arp_start" @@ -43,6 +44,8 @@ static_arp_start() { local e arp_args + afexists inet || return 0 + if [ -n "${static_arp_pairs}" ]; then echo -n 'Binding static ARP pair(s):' for e in ${static_arp_pairs}; do @@ -58,6 +61,8 @@ static_arp_stop() { local e arp_args + afexists inet || return 0 + if [ -n "${static_arp_pairs}" ]; then echo -n 'Unbinding static ARP pair(s):' for e in ${static_arp_pairs}; do |