Page MenuHomeFreeBSD

rc: Use startmsg instead of echo on start messages
ClosedPublic

Authored by jlduran on Mar 10 2022, 12:38 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Oct 6, 3:34 AM
Unknown Object (File)
Sun, Sep 21, 4:26 PM
Unknown Object (File)
Fri, Sep 19, 11:37 PM
Unknown Object (File)
Sep 3 2025, 5:56 AM
Unknown Object (File)
Aug 14 2025, 11:10 PM
Unknown Object (File)
Aug 13 2025, 4:03 AM
Unknown Object (File)
Aug 8 2025, 7:33 PM
Unknown Object (File)
Jul 8 2025, 4:12 AM
Subscribers

Details

Summary

By rc.conf(5), setting rc_startmsgs="NO" should silence start messages.

Fix a few rc scripts by using startmsg.

PR: 255207

Test Plan

sysrc rc_startmsgs=NO
shutdown -r now

No Starting... messages should be displayed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jlduran edited the test plan for this revision. (Show Details)

this looks good to me. I don't know if it solves all the problems in this area, but it looks to be a good improvement at the very least.

This revision is now accepted and ready to land.Mar 10 2022, 3:51 PM

Thank you. I’ll add a brief mention to it in rc.subr(8).