mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units/systemd-battery-check.service: split [Unit] options into groups
This commit is contained in:
@@ -10,14 +10,17 @@
|
||||
[Unit]
|
||||
Description=Early Battery Level Check
|
||||
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
|
||||
Before=initrd-root-device.target systemd-hibernate-resume.service
|
||||
|
||||
FailureAction=poweroff-force
|
||||
|
||||
[Service]
|
||||
|
||||
Reference in New Issue
Block a user