sysctl man page update for pattern
pattern must be used before `--system` else it does not work for sysctl file(s) ``` root# /sbin/sysctl --system --pattern '^net.ipv6' * Applying /etc/sysctl.d/30-ceph-osd.conf ... fs.aio-max-nr = 1048576 kernel.pid_max = 4194304 * Applying /etc/sysctl.d/protect-links.conf ... fs.protected_hardlinks = 1 fs.protected_symlinks = 1 * Applying /etc/sysctl.d/sara_tweaks.conf ... net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 0 * Applying /etc/sysctl.conf ... ``` vs: ``` root# /sbin/sysctl --pattern '^net.ipv6' --system * Applying /etc/sysctl.d/30-ceph-osd.conf ... * Applying /etc/sysctl.d/protect-links.conf ... * Applying /etc/sysctl.d/sara_tweaks.conf ... net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 0 * Applying /etc/sysctl.conf ... ``` References: !124
This commit is contained in:
parent
c63c712134
commit
5a72a03e60
2
sysctl.8
2
sysctl.8
@ -149,7 +149,7 @@ file that is ordered later).
|
||||
.br
|
||||
/sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
|
||||
.br
|
||||
/sbin/sysctl \-\-system \-\-pattern '\[char94]net.ipv6'
|
||||
/sbin/sysctl \-\-pattern '\[char94]net.ipv6' \-\-system
|
||||
.SH DEPRECATED PARAMETERS
|
||||
The
|
||||
.B base_reachable_time
|
||||
|
Loading…
Reference in New Issue
Block a user