Jose Luis Duran cb51e2bc3d rc: Allow the removal of firstboot_sentinel on read-only file systems
NanoBSD or, more generally, systems with root_rw_mount="NO" are not able
to remove the firstboot_sentinel file, typically /firstboot, because the
logic in /etc/rc is currently inverted.

When checkyesno root_rw_mount tests on a read-only file system, the
return is 1, hence avoiding the option to mount the system read-write.

Restore the ability to remove the firstboot_sentinel file on read-only
mounted file systems.

This change was introduced in 40adda8665bb, and partially fixed in
1ce07411fae8.

Differential Revision: https://reviews.freebsd.org/D34166
2022-02-10 12:43:19 -07:00
..
2020-03-25 08:35:55 +00:00
2019-05-22 07:40:39 +00:00