=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.123 retrieving revision 1.124 diff -c -r1.123 -r1.124 *** src/etc/netstart 2008/08/14 00:59:50 1.123 --- src/etc/netstart 2008/11/25 12:11:44 1.124 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.123 2008/08/14 00:59:50 sthen Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.124 2008/11/25 12:11:44 markus Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout *************** *** 390,394 **** if [ "$ip6kernel" = "YES" ]; then # this is to make sure DAD is completed before going further. ! sleep `sysctl -n net.inet6.ip6.dad_count` fi --- 390,397 ---- if [ "$ip6kernel" = "YES" ]; then # this is to make sure DAD is completed before going further. ! count=0 ! while [ $((count++)) -lt 10 -a "x"`sysctl -n net.inet6.ip6.dad_pending` != "x0" ]; do ! sleep 1 ! done fi