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)
Fri, Dec 26, 1:53 AM
Unknown Object (File)
Sun, Dec 14, 10:14 AM
Unknown Object (File)
Dec 2 2025, 3:36 AM
Unknown Object (File)
Nov 29 2025, 4:57 AM
Unknown Object (File)
Nov 25 2025, 2:13 AM
Unknown Object (File)
Nov 23 2025, 8:07 AM
Unknown Object (File)
Nov 19 2025, 5:07 AM
Unknown Object (File)
Nov 6 2025, 3:34 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).