]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysctl.d: silence warning if net.core.default_qdisc cannot be set
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Feb 2021 18:02:38 +0000 (19:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Feb 2021 20:24:26 +0000 (21:24 +0100)
Kernels can be compiled without the attribute. It's fine if this is not
set, so silence the warning.

sysctl.d/50-default.conf

index 5279c170920d3b2f35024da9cf72e686ed97de87..f41e24bcbc09a3c44976e1af8973805ec580f662 100644 (file)
@@ -45,7 +45,7 @@ net.ipv4.conf.*.promote_secondaries = 1
 -net.ipv4.ping_group_range = 0 2147483647
 
 # Fair Queue CoDel packet scheduler to fight bufferbloat
-net.core.default_qdisc = fq_codel
+-net.core.default_qdisc = fq_codel
 
 # Enable hard and soft link protection
 fs.protected_hardlinks = 1