sysctl: add glob syntax to sysctl.d files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jan 2020 18:38:21 +0000 (19:38 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Feb 2020 23:01:50 +0000 (00:01 +0100)
commite0f424790d3dbde136a29a7fa4c2777c2e3fd695
tree39773eb654ef830812b5c58ccd66227cec60c4f5
parent02d89f9a623afcd8ce8333d5936c37c10b131988
sysctl: add glob syntax to sysctl.d files

This is intended for net.*.conf.*.foo files. Setting just "default" is not very
useful because any interfaces present before systemd-sysctl is invoked are not
affected. Setting "all" is too harsh, because the kernel takes the stronger of
the device-specific setting and the "all" value, so effectively having a weaker
setting for specific interfaces is not possible. Let's add a way in which can
set "default" first and then all the others without "all".
man/sysctl.d.xml
src/sysctl/sysctl.c