mirror of
https://github.com/systemd/systemd
synced 2025-11-21 17:54:46 +01:00
Compare commits
3 Commits
817929a14e
...
9fe0b90005
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fe0b90005 | ||
|
|
e8d5badc5f | ||
|
|
997717e274 |
@ -8,16 +8,19 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Check battery level during early boot
|
||||
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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user