Page MenuHomeFreeBSD

rc.subr:rc_trace take advantage of sdot
ClosedPublic

Authored by sjg on Feb 5 2025, 12:59 AM.
Tags
None
Referenced Files
F165694401: D48856.id.diff
Sun, Aug 9, 7:54 AM
F165670951: D48856.id150809.diff
Sun, Aug 9, 3:32 AM
Unknown Object (File)
Sat, Aug 8, 12:32 PM
Unknown Object (File)
Tue, Aug 4, 10:44 AM
Unknown Object (File)
Mon, Aug 3, 8:47 PM
Unknown Object (File)
Sun, Aug 2, 4:27 AM
Unknown Object (File)
Sun, Aug 2, 3:50 AM
Unknown Object (File)
Sat, Aug 1, 7:31 AM
Subscribers
None

Details

Summary

Since we now have sdot, use it to get RC_LEVEL from rc.conf.d/rc_trace
also avoid logging execution of ':' when RC_LEVEL > 0

Diff Detail

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

Event Timeline

sjg requested review of this revision.Feb 5 2025, 12:59 AM
sjg created this revision.
This revision is now accepted and ready to land.Feb 10 2025, 10:19 PM
This revision was automatically updated to reflect the committed changes.