mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
units: add one more equivalency of '-' in '_' on kernel cmdline
c0aeff4b99
added this in one unit file, but the
same problem occurs here. (There are no other files where this would apply.)
I think we should solve this systematically somehow, but it's not clear how to
do that, so until we have that better solution, let's apply the manual solution
so that our units work as expected.
This commit is contained in:
parent
db7374e156
commit
d1f3cd7aaa
@ -13,6 +13,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user