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

(cherry picked from commit 325ebf37d8efc6488754051fcc2b1aaa40cefd8b)

Details

Provenance
jlduran_gmail.comAuthored on Mar 13 2022, 5:48 PM
0mpCommitted on Feb 22 2023, 12:27 PM
Reviewer
imp
Differential Revision
D34514: rc: Use startmsg instead of echo on start messages
Parents
rG8c2eeb1c1cd6: e1000: bump driver version
Branches
Unknown
Tags
Unknown