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.
|
# (at your option) any later version.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Check battery level during early boot
|
Description=Early Battery Level Check
|
||||||
Documentation=man:systemd-battery-check.service(8)
|
Documentation=man:systemd-battery-check.service(8)
|
||||||
|
|
||||||
ConditionVirtualization=no
|
ConditionVirtualization=no
|
||||||
ConditionDirectoryNotEmpty=/sys/class/power_supply/
|
ConditionDirectoryNotEmpty=/sys/class/power_supply/
|
||||||
ConditionKernelCommandLine=!systemd.battery_check=0
|
ConditionKernelCommandLine=!systemd.battery_check=0
|
||||||
ConditionKernelCommandLine=!systemd.battery-check=0
|
ConditionKernelCommandLine=!systemd.battery-check=0
|
||||||
AssertPathExists=/etc/initrd-release
|
AssertPathExists=/etc/initrd-release
|
||||||
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=plymouth-start.service
|
After=plymouth-start.service
|
||||||
Before=initrd-root-device.target systemd-hibernate-resume.service
|
Before=initrd-root-device.target systemd-hibernate-resume.service
|
||||||
|
|
||||||
FailureAction=poweroff-force
|
FailureAction=poweroff-force
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user