If there is no default route but some interface has AUTOCONF, printing
what would be done still waits for... nothing to happen.

OK?

Index: netstart
===================================================================
RCS file: /cvs/src/etc/netstart,v
retrieving revision 1.220
diff -u -p -r1.220 netstart
--- netstart    21 Oct 2022 12:04:51 -0000      1.220
+++ netstart    24 Oct 2022 20:25:06 -0000
@@ -391,7 +396,7 @@ else
 fi
 
 # If interface autoconf exists, pause a little for at least one default route
-wait_autoconf_default
+$PRINT_ONLY || wait_autoconf_default
 
 # Configure interfaces that rely on routing
 ifmstart "tun tap gif etherip gre egre nvgre eoip vxlan pflow wg"

Reply via email to