=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.551 retrieving revision 1.552 diff -c -r1.551 -r1.552 *** src/etc/rc 2021/07/22 18:09:04 1.551 --- src/etc/rc 2021/07/22 18:29:47 1.552 *************** *** 1,4 **** ! # $OpenBSD: rc,v 1.551 2021/07/22 18:09:04 sthen Exp $ # System startup script run by init on autoboot or after single-user. # Output and error are redirected to console by init, and the console is the --- 1,4 ---- ! # $OpenBSD: rc,v 1.552 2021/07/22 18:29:47 deraadt Exp $ # System startup script run by init on autoboot or after single-user. # Output and error are redirected to console by init, and the console is the *************** *** 460,471 **** reorder_libs ! # Pause a little so at least one dynamic (slaacd or dhcpleased) config completes ! count=0 ! while ((count++ < 20)); do ! route -n show | grep -q ^default && break ! sleep .5 ! done # Load pf rules and bring up pfsync interface. if [[ $pf != NO ]]; then --- 460,473 ---- reorder_libs ! # If interface autoconf exists, pause a little for at least one default route ! if ifconfig | grep -q ': flags=.*<.*AUTOCONF.*> mtu'; then ! count=0 ! while ((count++ < 20)); do ! route -n show | grep -q ^default && break ! sleep .5 ! done ! fi # Load pf rules and bring up pfsync interface. if [[ $pf != NO ]]; then