В Tue, 17 Feb 2015 01:33:41 -0300 Cristian Rodríguez <crrodrig...@opensuse.org> пишет:
> If there is no resume= ..it is not possible to > hubrid-sleep or hibernate Why? (default) resume device can be specified directly in initrd. > --- > units/systemd-hibernate.service.in | 1 + > units/systemd-hybrid-sleep.service.in | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/units/systemd-hibernate.service.in > b/units/systemd-hibernate.service.in > index 29d9b69..2a21cfc 100644 > --- a/units/systemd-hibernate.service.in > +++ b/units/systemd-hibernate.service.in > @@ -11,6 +11,7 @@ Documentation=man:systemd-suspend.service(8) > DefaultDependencies=no > Requires=sleep.target > After=sleep.target > +ConditionKernelCommandLine=resume > > [Service] > Type=oneshot > diff --git a/units/systemd-hybrid-sleep.service.in > b/units/systemd-hybrid-sleep.service.in > index 914b686..b3039a0 100644 > --- a/units/systemd-hybrid-sleep.service.in > +++ b/units/systemd-hybrid-sleep.service.in > @@ -11,6 +11,7 @@ Documentation=man:systemd-suspend.service(8) > DefaultDependencies=no > Requires=sleep.target > After=sleep.target > +ConditionKernelCommandLine=resume > > [Service] > Type=oneshot _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel