]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
commite4201d0a0ef75ee2ef5801662eeab89ed9e1c69b
tree98ebd19ffe3dcd5414dbd9b6a0853021293bc2a7
parent13abd21c9fe5a5989e36e78ac2e24ac07c266114
parent2de03c8e8b8ff553ece1423b003ec00492d33a6e
sysctl: support reading configuration from stdin and command line arguments (#39219)

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
```