HomeFreeBSD

Introduce startmsg and use it in rc scripts

Description

Introduce startmsg and use it in rc scripts

startmsg is a new rc.subr(8) function function to be used instead of
echo(1) when for boot messages. It replaces the often forgotten

check_startmsgs && echo ...

with

startmsg ...

No functional change intended.

I adjusted the commit message and did some final clean-ups of the patch
before committing.

PR: 255207
Reported by: Jose Luis Duran <jlduran@gmail.com>
Reviewed by: imp, 0mp
Approved by: imp (src)
Differential Revision: https://reviews.freebsd.org/D34514

Details

Provenance
jlduranAuthored on Mar 13 2022, 5:48 PM
0mpCommitted on Mar 13 2022, 5:57 PM
Reviewer
imp
Differential Revision
D34514: rc: Use startmsg instead of echo on start messages
Parents
rGe83a53abeb90: Chase mixer(8) command-line interface changes
Branches
Unknown
Tags
Unknown