On Tue, Feb 21, 2023 at 11:29:17AM +0100, jhx wrote:
> this patch adds the "-p" option to sysctl which makes it possible to
> read/parse/apply settings from /etc/sysctl.conf at any time the user wishes.

This is an interesting idea, but you can effectively do the same thing
from the shell with:

# sysctl `cat /etc/sysctl.conf`

Also, note that both your patch and the above shell command do not
gracefully handle comment lines in /etc/sysctl.conf, (although that
shouldn't cause any problem in practice).

Reply via email to