From 2e769c821965644ba8160836e36e10134d238a7b Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Mon, 24 Oct 2022 20:51:08 +0000 Subject: 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 --- etc/netstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/netstart') 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" -- cgit v1.2.3