diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-03-09 07:12:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-03-09 07:12:16 +0000 |
commit | 1ccad98a45a5ed444481e5ac4182268b6c4d90ff (patch) | |
tree | bca32abe922d8a0712eb3dc876fd881ae6917b5c /etc/rc | |
parent | 90f8081a373081cfe97bcfe0b252e17a9952352c (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/rc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |