]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysctl: support reading configuration from stdin and command line arguments (#39219)
authorLennart Poettering <lennart@poettering.net>
Mon, 6 Oct 2025 14:12:11 +0000 (16:12 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Oct 2025 14:12:11 +0000 (16:12 +0200)
This makes systemd-sysctl support following syntax, like
systemd-sysusers and systemd-tmpfiles:
```sh
$ /usr/lib/systemd/systemd-sysctl --inline 'foo.bar=42'
$ /usr/lib/systemd/systemd-sysctl - <<EOF
foo.bar=42
EOF
```


Trivial merge