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)
Sat, Aug 15, 7:45 PM
Unknown Object (File)
Mon, Aug 10, 12:00 AM
Unknown Object (File)
Sat, Aug 8, 7:08 PM
Unknown Object (File)
Sat, Aug 8, 10:05 AM
Unknown Object (File)
Thu, Aug 6, 11:25 AM
Unknown Object (File)
Mon, Aug 3, 8:14 AM
Unknown Object (File)
Sun, Aug 2, 4:04 AM
Unknown Object (File)
Mon, Jul 27, 5:17 PM
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