From f81d19e4fc1dbd5f8e56db17e086e29ce50d1d47 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 9 Mar 2021 07:12:15 +0000 Subject: [PATCH] dhcpleased wants /var (but contains code to handle when it isn't there). But in the nfs diskless case, we can do better by starting it a little later. This disrupts nfs diskless on dynamic addresses a little, if it ever actually worked with dhclient, but anyone doing that deserves the headache. ok florian --- etc/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/rc b/etc/rc index 7b57d2f74e3..35f520d8438 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.547 2021/02/26 18:29:16 kn Exp $ +# $OpenBSD: rc,v 1.548 2021/03/09 07:12:15 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 @@ -441,7 +441,7 @@ fill_baddynamic tcp sysctl_conf -start_daemon dhcpleased slaacd >/dev/null 2>&1 +start_daemon slaacd >/dev/null 2>&1 echo 'starting network' @@ -454,7 +454,7 @@ sh /etc/netstart mount -s /usr >/dev/null 2>&1 mount -s /var >/dev/null 2>&1 -start_daemon unwind resolvd >/dev/null 2>&1 +start_daemon dhcpleased unwind resolvd >/dev/null 2>&1 # Load pf rules and bring up pfsync interface. if [[ $pf != NO ]]; then -- 2.20.1