Page MenuHomeFreeBSD

rc: Use startmsg instead of echo on start messages
ClosedPublic

Authored by jlduran_gmail.com on Mar 10 2022, 12:38 AM.
Tags
Referenced Files
Unknown Object (File)
Mar 7 2024, 3:55 PM
Unknown Object (File)
Feb 24 2024, 4:51 AM
Unknown Object (File)
Feb 5 2024, 6:35 AM
Unknown Object (File)
Dec 22 2023, 11:03 PM
Unknown Object (File)
Dec 15 2023, 5:10 PM
Unknown Object (File)
Dec 12 2023, 1:57 PM
Unknown Object (File)
Oct 10 2023, 4:56 PM
Unknown Object (File)
Aug 25 2023, 5:05 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_gmail.com 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).