summaryrefslogtreecommitdiff
path: root/sysctl.d
diff options
context:
space:
mode:
Diffstat (limited to 'sysctl.d')
-rw-r--r--sysctl.d/Makefile6
-rw-r--r--sysctl.d/README13
2 files changed, 19 insertions, 0 deletions
diff --git a/sysctl.d/Makefile b/sysctl.d/Makefile
new file mode 100644
index 0000000..feaf918
--- /dev/null
+++ b/sysctl.d/Makefile
@@ -0,0 +1,6 @@
+DIR= ${SYSCTLDIR}
+CONF= README
+
+MK= ../mk
+include ${MK}/os.mk
+include ${MK}/scripts.mk
diff --git a/sysctl.d/README b/sysctl.d/README
new file mode 100644
index 0000000..d208ee5
--- /dev/null
+++ b/sysctl.d/README
@@ -0,0 +1,13 @@
+Kernel system variables configuration files
+
+Files found under the /etc/sysctl.d directory that end with .conf are
+parsed within sysctl(8) at boot time. If you want to set kernel variables
+you can either edit /etc/sysctl.conf or make a new file.
+
+The filename isn't important, but don't make it a package name as it may clash
+with something the package builder needs later. It must end with .conf or else
+it will not be read.
+
+The recommended locationfor local system settings is /etc/sysctl.d/local.conf
+but as long as you follow the rules for the names of the file, anything will
+work. See sysctl.conf(5) man page for details of the format.