summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/static_arp
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2009-10-02 06:19:34 +0000
committerhrs <hrs@FreeBSD.org>2009-10-02 06:19:34 +0000
commit43628417e2edca37d35e980eb48a584c68e9db5a (patch)
tree388e3ff013bccce0488597414ad9594cf6b206a2 /etc/rc.d/static_arp
parenta8f54fa5ca180238d20d58265286a9b1261e5c98 (diff)
downloadFreeBSD-src-43628417e2edca37d35e980eb48a584c68e9db5a.zip
FreeBSD-src-43628417e2edca37d35e980eb48a584c68e9db5a.tar.gz
Revert the previous afexists() change. Knobs configured explicitly by
the user should not be ignored if possible even if the kernel does not support the prerequisite feature. Discussed with: ume
Diffstat (limited to 'etc/rc.d/static_arp')
-rw-r--r--etc/rc.d/static_arp4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/rc.d/static_arp b/etc/rc.d/static_arp
index 816d581..6283b56 100644
--- a/etc/rc.d/static_arp
+++ b/etc/rc.d/static_arp
@@ -44,8 +44,6 @@ 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
@@ -61,8 +59,6 @@ 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
OpenPOWER on IntegriCloud