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)
Wed, Nov 13, 12:47 AM
Unknown Object (File)
Oct 15 2024, 4:39 PM
Unknown Object (File)
Oct 9 2024, 2:20 PM
Unknown Object (File)
Oct 9 2024, 2:20 PM
Unknown Object (File)
Oct 9 2024, 2:20 PM
Unknown Object (File)
Oct 9 2024, 2:03 PM
Unknown Object (File)
Oct 9 2024, 2:02 PM
Unknown Object (File)
Oct 4 2024, 5:49 PM
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).