diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-24 20:51:08 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-24 20:51:08 +0000 |
commit | 2e769c821965644ba8160836e36e10134d238a7b (patch) | |
tree | 7f9266dbe9c556b5cb4907ebc6b37a62b2ec6340 /etc/netstart | |
parent | 4479ed8c70962ea5bfc6dd95c0e3ccda27b45c13 (diff) |
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
Diffstat (limited to 'etc/netstart')
-rw-r--r-- | etc/netstart | 4 |
1 files changed, 2 insertions, 2 deletions
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" |