=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.552 retrieving revision 1.553 diff -u -r1.552 -r1.553 --- src/etc/rc 2021/07/22 18:29:47 1.552 +++ src/etc/rc 2021/07/28 20:48:36 1.553 @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.552 2021/07/22 18:29:47 deraadt Exp $ +# $OpenBSD: rc,v 1.553 2021/07/28 20:48:36 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 @@ -461,7 +461,7 @@ reorder_libs # If interface autoconf exists, pause a little for at least one default route -if ifconfig | grep -q ': flags=.*<.*AUTOCONF.*> mtu'; then +if ifconfig | grep -q ': flags=.*<.*AUTOCONF.*>'; then count=0 while ((count++ < 20)); do route -n show | grep -q ^default && break