From b5be16c5695278a75dcfe713ff8683f727ca9765 Mon Sep 17 00:00:00 2001 From: David Krause Date: Thu, 2 Aug 2007 03:19:11 +0000 Subject: move the delay for IPv6 DAD to after all interfaces have started fixes problems with daemons being unable to bind to all addreses at boot ok itojun@ hshoexer@ --- etc/netstart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'etc/netstart') diff --git a/etc/netstart b/etc/netstart index 9823cffcb49..07dd92da7fa 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.115 2006/11/15 06:28:33 itojun Exp $ +# $OpenBSD: netstart,v 1.116 2007/08/02 03:19:10 david Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout @@ -301,10 +301,6 @@ if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then echo "WARNING: inconsistent config - check /etc/sysctl.conf for IPv6 autoconf" fi fi -if [ "$ip6kernel" = "YES" ]; then - # this is to make sure DAD is completed before going further. - sleep `sysctl -n net.inet6.ip6.dad_count` -fi # The trunk interfaces need to come up first in this list. # The vlan interfaces need to come up after trunk. @@ -381,3 +377,8 @@ for bn in /etc/bridgename.*; do bridgestart $if done + +if [ "$ip6kernel" = "YES" ]; then + # this is to make sure DAD is completed before going further. + sleep `sysctl -n net.inet6.ip6.dad_count` +fi -- cgit v1.2.3