diff options
| author | Jose Luis Duran <jlduran@gmail.com> | 2022-02-10 19:42:36 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2022-02-10 19:43:19 +0000 |
| commit | cb51e2bc3db7e266c26d8165243605f0be771e56 (patch) | |
| tree | a10a1b37f54d5a512c8a334750f8098de571de4e /libexec | |
| parent | c96f70e7ac54ca9347d81672edb9538313b57fd1 (diff) | |
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc b/libexec/rc/rc index f117125d2d82..f021251bbd81 100644 --- a/libexec/rc/rc +++ b/libexec/rc/rc @@ -137,7 +137,7 @@ 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 |
