Page MenuHomeFreeBSD

rc.subr: Add /etc/defaults/rc.conf.d
AcceptedPublic

Authored by ivy on Aug 10 2025, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 1:50 PM
Unknown Object (File)
Sun, May 17, 1:31 AM
Unknown Object (File)
Thu, May 14, 12:35 PM
Unknown Object (File)
Sun, May 3, 10:59 AM
Unknown Object (File)
Apr 20 2026, 4:26 PM
Unknown Object (File)
Apr 19 2026, 1:46 PM
Unknown Object (File)
Apr 18 2026, 6:48 PM
Unknown Object (File)
Apr 15 2026, 11:18 AM
Subscribers

Details

Reviewers
imp
emaste
adrian
bapt
Group Reviewers
rc
pkgbase
Summary

This is /etc/defaults/rc.conf but for individual services. Unlike
/etc/rc.conf.d, files in /etc/defaults/rc.conf.d are shipped by the
operating system and shouldn't be modified by users, so they should
not have the @config tag.

This allows optional packages to install their own default config
instead of dumping everything in /etc/defaults/rc.conf.

While here, move rc.d and rc.conf.d to the rc package.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66149
Build 63032: arc lint + arc unit