]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb: say that settings can be also set to 0 37440/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 May 2025 15:59:34 +0000 (17:59 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 May 2025 16:08:26 +0000 (18:08 +0200)
commit9282a85ed73e294bb67c4935ce65d588ed9315c7
tree2d012d59a604831dc381402231b199929c39f18d
parent97f7b74f97d20daf13021eb748399ecafd15f520
hwdb: say that settings can be also set to 0

We recommend that users create overriddes. This creates the problem that there
is no syntax to unset a property. Thus, the user needs to just set the property
to "something else" in the override file. But then the blurb saying that
"VAR=1" (or "VAR=0" in some cases) is the only allowed value can be confusing.
Say that both 0 and 1 can be set, since this documentation is also intended
for end users.

In our files, we generally don't want the override values anywhere. But we
have a test which checks the rvalue, which should be enough.
hwdb.d/60-autosuspend.hwdb
hwdb.d/60-seat.hwdb
hwdb.d/70-av-production.hwdb
hwdb.d/70-hardware-wallets.hwdb
hwdb.d/70-lights.hwdb
hwdb.d/70-software-radio.hwdb