]> granicus.if.org Git - procps-ng/commit
sysctl man page update for pattern
authorBas van der Vlies <bas.vandervlies@surf.nl>
Thu, 25 Feb 2021 08:35:33 +0000 (09:35 +0100)
committerCraig Small <csmall@dropbear.xyz>
Sat, 29 May 2021 06:20:02 +0000 (16:20 +1000)
commit5a72a03e609254dcda724048958bf21dad6c0c17
treeaf2fa9354ad26bde79ca60a18f7cf9415c8586ab
parentc63c712134e4e580b51c30a275dd4f32ff15331e
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
sysctl.8