summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-03-09 07:12:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-03-09 07:12:16 +0000
commit1ccad98a45a5ed444481e5ac4182268b6c4d90ff (patch)
treebca32abe922d8a0712eb3dc876fd881ae6917b5c /etc
parent90f8081a373081cfe97bcfe0b252e17a9952352c (diff)
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files 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