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
..
2021-09-30 23:47:06 -05:00
2019-12-11 17:37:53 +00:00
2020-09-09 00:39:47 +00:00
2022-01-27 14:42:40 -08:00
2019-11-12 22:31:59 +00:00
2019-12-04 16:56:11 +00:00
2021-04-10 11:16:02 +02:00
2020-09-09 00:39:47 +00:00