freebsd-dev/libexec/rc
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 40adda8665, and partially fixed in
1ce07411fa.

Differential Revision: https://reviews.freebsd.org/D34166
2022-02-10 12:43:19 -07:00
..
rc.d mountd: Delay starting mountd until after mountlate 2022-01-23 14:17:40 -08:00
Makefile Revert r359294 per manu's request 2020-03-25 08:35:55 +00:00
netstart Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
network.subr rc: network.subr improve network6_getladdr() 2021-12-13 22:12:44 +00:00
pccard_ether
rc rc: Allow the removal of firstboot_sentinel on read-only file systems 2022-02-10 12:43:19 -07:00
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf etc/defaults/rc.conf: set default of zfskeys_enable to NO 2022-01-18 14:26:30 -09:00
rc.firewall rc.firewall: Merge two identical conditions into one. 2020-07-23 15:03:28 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.sendmail pkgbase: Really move rc.sendmail 2019-05-22 07:40:39 +00:00
rc.shutdown rc.shutdown: kill shutdown process after logging message 2019-12-07 00:33:08 +00:00
rc.subr Allow rc.d script to provide "status" method, even if it does not 2021-08-20 09:43:46 -07:00
rc.suspend