summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.d/netif6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index b584f15..284e30a 100755
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -138,10 +138,12 @@ network_common()
done
# inet6 address configuration needs sleep for DAD.
- if [ -n "${_dadwait}" ]; then
+ case ${_func}:${_dadwait} in
+ ifn_start:1)
sleep `${SYSCTL_N} net.inet6.ip6.dad_count`
sleep 1
- fi
+ ;;
+ esac
_str=
if [ -n "${_ok}" ]; then
OpenPOWER on IntegriCloud