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>
This commit is contained in:
committed by
Sami Kerola
parent
db6aea7d3f
commit
100959274c
15
sysctl.8
15
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
|
||||
|
Reference in New Issue
Block a user