diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-08-29 11:51:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-08-29 11:51:06 +0000 |
commit | 0ccc8875e39c2143e25771329312d6e7e9b26564 (patch) | |
tree | 6a0d8ce8da6868c89cd00795fedf6cde45b35a84 /etc/rc | |
parent | 89c12c3889978dd8a7263df4b939ecdd39492d3a (diff) |
mount /usr earlier, to satisfy dynamically-linked daemons in /sbin better
(there will be more soon)
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.563 2022/07/28 16:06:04 miod Exp $ +# $OpenBSD: rc,v 1.564 2022/08/29 11:51:05 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 @@ -448,6 +448,7 @@ sysctl_conf mount -s /var >/dev/null 2>&1 # cannot be on NFS mount -s /var/log >/dev/null 2>&1 # cannot be on NFS +mount -s /usr >/dev/null 2>&1 # if NFS, fstab must use IP address start_daemon slaacd dhcpleased resolvd >/dev/null 2>&1 @@ -459,8 +460,6 @@ ifconfig -g carp carpdemote 128 sh /etc/netstart -mount -s /usr >/dev/null 2>&1 - start_daemon unwind >/dev/null 2>&1 random_seed |