]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: order battery-check before hibernate-resume 29036/head
authorMike Yuan <me@yhndnzj.com>
Sat, 2 Sep 2023 11:16:44 +0000 (19:16 +0800)
committerMike Yuan <me@yhndnzj.com>
Thu, 7 Sep 2023 12:21:16 +0000 (20:21 +0800)
units/systemd-battery-check.service.in

index 6825aa0a2265f3efb61ead6daa489e59551e11a1..a5f532da707dce1da8271b1e95d27d4861a10e93 100644 (file)
@@ -16,7 +16,7 @@ ConditionKernelCommandLine=!systemd.battery-check=0
 AssertPathExists=/etc/initrd-release
 DefaultDependencies=no
 After=plymouth-start.service
-Before=initrd-root-device.target
+Before=initrd-root-device.target systemd-hibernate-resume.service
 
 [Service]
 Type=oneshot