aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2022-02-10 19:42:33 +0000
committerWarner Losh <imp@FreeBSD.org>2022-02-10 19:43:19 +0000
commitc96f70e7ac54ca9347d81672edb9538313b57fd1 (patch)
tree96460e4bce33b12e60855f2001b9b1d0d6afd44f /libexec
parent0853415963c0b24a24abc7a13bfa4117b35c8a37 (diff)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rc/rc b/libexec/rc/rc
index 35db4a850516..f117125d2d82 100644
--- a/libexec/rc/rc
+++ b/libexec/rc/rc
@@ -137,16 +137,16 @@ done
# Note: this assumes firstboot_sentinel is on / when we have
# a read-only /, or that it is on media that's writable.
if [ -e ${firstboot_sentinel} ]; then
- checkyesno root_rw_mount && mount -uw /
+ checkyesno root_rw_mount && mount -uw /
chflags -R 0 ${firstboot_sentinel}
rm -rf ${firstboot_sentinel}
if [ -e ${firstboot_sentinel}-reboot ]; then
chflags -R 0 ${firstboot_sentinel}-reboot
rm -rf ${firstboot_sentinel}-reboot
- checkyesno root_rw_mount || mount -ur /
+ checkyesno root_rw_mount || mount -ur /
kill -INT 1
fi
- checkyesno root_rw_mount || mount -ur /
+ checkyesno root_rw_mount || mount -ur /
fi
echo ''