Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177837099
D56898.1795397866.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D56898.1795397866.diff
View Options
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -105,6 +105,8 @@
untrusted tags=package=caroot
..
..
+ sysctl.conf.d tags=package=runtime
+ ..
sysctl.kld.d tags=package=runtime
..
syslog.d tags=package=syslogd
diff --git a/libexec/rc/rc.d/sysctl b/libexec/rc/rc.d/sysctl
--- a/libexec/rc/rc.d/sysctl
+++ b/libexec/rc/rc.d/sysctl
@@ -26,7 +26,7 @@
;;
esac
- for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do
+ for _f in /etc/sysctl.conf /etc/sysctl.conf.local /etc/sysctl.conf.d/*.conf; do
if [ -r ${_f} ]; then
${command} ${command_args} ${_f} > /dev/null
fi
diff --git a/share/man/man5/sysctl.conf.5 b/share/man/man5/sysctl.conf.5
--- a/share/man/man5/sysctl.conf.5
+++ b/share/man/man5/sysctl.conf.5
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd June 30, 2022
+.Dd May 09, 2026
.Dt SYSCTL.CONF 5
.Os
.Sh NAME
@@ -74,6 +74,10 @@
.It Pa /etc/sysctl.conf.local
Machine-specific settings for sites with a common
.Pa /etc/sysctl.conf .
+.It Pa /etc/sysctl.conf.d
+Directory for modularized
+.Xr sysctl 8
+files.
.It Pa /etc/sysctl.kld.d
Module specific settings for kernel modules loaded via
.Xr rc.subr 8 .
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 1:37 AM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41911805
Default Alt Text
D56898.1795397866.diff (1 KB)
Attached To
Mode
D56898: sysctl.conf(5): Add support for sysctl.conf.d
Attached
Detach File
Event Timeline