]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rc.subr avoid noise if /usr not mounted
authorSimon J. Gerraty <sjg@FreeBSD.org>
Sat, 10 Feb 2024 18:14:23 +0000 (10:14 -0800)
committerSimon J. Gerraty <sjg@FreeBSD.org>
Sat, 10 Feb 2024 18:14:23 +0000 (10:14 -0800)
commit15483f96207de354714fc61f20cdbf971706e6cb
tree219c62110233eaa4fa8c85011730840665a77cc1
parent61cc4830a7b16400efade3d884a59fda6d80d651
rc.subr avoid noise if /usr not mounted

basename, sed and tty are all in /usr/bin and not available
until /usr is mounted.

basename and tty we can replace with a function, but sed is more
important.  Fix o_verify to just use shell builtins, and
rc_trace should avoid trying to set RC_LEVEL until sed is available.
libexec/rc/rc.subr