units: order battery-check before hibernate-resume

This commit is contained in:
Mike Yuan
2023-09-02 19:16:44 +08:00
parent a628d933cc
commit 89a1bb9012

View 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