summaryrefslogtreecommitdiff
path: root/sysctl.8
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2011-10-07 09:10:49 +0200
committerSami Kerola <kerolasa@iki.fi>2011-12-20 17:17:03 +0100
commit100959274c9d9fa66a570099d4d4a3d6c257fb1f (patch)
tree2058f4440efde43739d3749129d4026adf114c0b /sysctl.8
parentdb6aea7d3f2053a430c440fe513e197e286c6483 (diff)
downloadprocps-ng-100959274c9d9fa66a570099d4d4a3d6c257fb1f.tar.gz
sysctl: add --system switch
instead of requiring distributions to construct a loop around sysctl in boot scripts just scan a set of default directories if the --system switch is used. Config files are applied in alphabetic order of their base name. Each base name is only applied once according to the directory preference. /etc/sysctl.conf is always applied last. Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sysctl.8')
-rw-r--r--sysctl.815
1 files changed, 15 insertions, 0 deletions
diff --git a/sysctl.8 b/sysctl.8
index 64ca320..bc3a8db 100644
--- a/sysctl.8
+++ b/sysctl.8
@@ -65,6 +65,21 @@ Display all values currently available.
\fB\-b\fR, \fB\-\-binary\fR
Print value without new line.
.TP
+\fB\-\-system\fR
+Load settings from all system configuration files.
+.br
+/run/sysctl.d/*.conf
+.br
+/etc/sysctl.d/*.conf
+.br
+/usr/local/lib/sysctl.d/*.conf
+.br
+/usr/lib/sysctl.d/*.conf
+.br
+/lib/sysctl.d/*.conf
+.br
+/etc/sysctl.conf
+.TP
\fB\-A\fR
Alias of \fB\-a\fR
.TP