diff options
author | David Krause <david@cvs.openbsd.org> | 2007-08-02 03:19:11 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2007-08-02 03:19:11 +0000 |
commit | b5be16c5695278a75dcfe713ff8683f727ca9765 (patch) | |
tree | 3c7fdaa6f923504ee955c5efb70aa49f42a4d01c /etc/netstart | |
parent | d64b412cd4c2baa2efbd1103125fece13da71ccb (diff) |
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@
Diffstat (limited to 'etc/netstart')
-rw-r--r-- | etc/netstart | 11 |
1 files changed, 6 insertions, 5 deletions
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 |