summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-02-28 15:31:27 +0100
committerLennart Poettering <lennart@poettering.net>2024-02-28 15:33:51 +0100
commit78266a54f12508a83dd3bb2f39f22da38f3b2f54 (patch)
tree687829e39af4f544211aca858afe608f2f47c744 /units
parentMerge pull request #31444 from bluca/semaphore (diff)
downloadsystemd-78266a54f12508a83dd3bb2f39f22da38f3b2f54.tar.xz
systemd-78266a54f12508a83dd3bb2f39f22da38f3b2f54.zip
tree-wide: use "_" rather than "-" as separator in kernel cmdline options
Most of our kernel cmdline options use underscores as word separators in kernel cmdline options, but there were some exceptions. Let's fix those, and also use underscores. Since our /proc/cmdline parsers don't distinguish between the two characters anyway this should not break anything, but makes sure our own codebase (and in particular docs and log messages) are internally consistent.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-battery-check.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-battery-check.service.in b/units/systemd-battery-check.service.in
index a5f532da70..0f82604107 100644
--- a/units/systemd-battery-check.service.in
+++ b/units/systemd-battery-check.service.in
@@ -12,7 +12,7 @@ Description=Check battery level during early boot
Documentation=man:systemd-battery-check.service(8)
ConditionVirtualization=no
ConditionDirectoryNotEmpty=/sys/class/power_supply/
-ConditionKernelCommandLine=!systemd.battery-check=0
+ConditionKernelCommandLine=!systemd.battery_check=0
AssertPathExists=/etc/initrd-release
DefaultDependencies=no
After=plymouth-start.service