diff --git a/etc/rc.d/auto_linklocal b/etc/rc.d/auto_linklocal index f09e97663b90..7f37290b4d8a 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 }