summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.d/auto_linklocal2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/auto_linklocal b/etc/rc.d/auto_linklocal
index f09e976..7f37290 100644
--- a/etc/rc.d/auto_linklocal
+++ b/etc/rc.d/auto_linklocal
@@ -15,7 +15,7 @@ stop_cmd=":"
auto_linklocal_start()
{
- if ! checkyesno ipv6_enable; then
+ if ! checkyesno ipv6_enable && ${SYSCTL} net.inet6 > /dev/null 2>&1; then
${SYSCTL_W} net.inet6.ip6.auto_linklocal=0
fi
}
OpenPOWER on IntegriCloud