From: kn Date: Mon, 24 Oct 2022 20:51:07 +0000 (+0000) Subject: do not wait for autoconf in dry-run X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=91d26677ec1c1ab69b2ea979c36c07d096416ef7;p=openbsd do not wait for autoconf in dry-run If there is no default route but some interface has AUTOCONF, printing what would be done still waits for... nothing to happen. OK tb --- diff --git a/etc/netstart b/etc/netstart index 974601ca971..2b9006d8248 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.221 2022/10/24 17:58:43 kn Exp $ +# $OpenBSD: netstart,v 1.222 2022/10/24 20:51:07 kn Exp $ # Turn off Strict Bourne shell mode. set +o sh @@ -391,7 +391,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"