ccb7bd2935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=217
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
diff -Naur systemd-210/units/systemd-hibernate.service.in systemd-210-mod/units/systemd-hibernate.service.in
|
|
--- systemd-210/units/systemd-hibernate.service.in 2013-08-13 22:02:52.808756274 +0200
|
|
+++ systemd-210-mod/units/systemd-hibernate.service.in 2014-03-25 12:27:44.995995220 +0100
|
|
@@ -11,7 +11,10 @@
|
|
DefaultDependencies=no
|
|
Requires=sleep.target
|
|
After=sleep.target
|
|
+ConditionKernelCommandLine=resume
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
+ExecStart=@rootbindir@/systemd-sleep-grub pre
|
|
ExecStart=@rootlibexecdir@/systemd-sleep hibernate
|
|
+ExecStopPost=@rootbindir@/systemd-sleep-grub post
|
|
diff -Naur systemd-210/units/systemd-hybrid-sleep.service.in systemd-210-mod/units/systemd-hybrid-sleep.service.in
|
|
--- systemd-210/units/systemd-hybrid-sleep.service.in 2013-08-13 22:02:52.809756282 +0200
|
|
+++ systemd-210-mod/units/systemd-hybrid-sleep.service.in 2014-03-25 12:27:56.115994902 +0100
|
|
@@ -11,7 +11,10 @@
|
|
DefaultDependencies=no
|
|
Requires=sleep.target
|
|
After=sleep.target
|
|
+ConditionKernelCommandLine=resume
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
+ExecStart=@rootbindir@/systemd-sleep-grub pre
|
|
ExecStart=@rootlibexecdir@/systemd-sleep hybrid-sleep
|
|
+ExecStopPost=@rootbindir@/systemd-sleep-grub post
|