[systemd-devel] [PATCH 2/2 v2] systemd-sleep: add support for freeze and standby

Lennart Poettering lennart at poettering.net
Mon May 6 13:53:04 PDT 2013


On Mon, 06.05.13 14:26, Lennart Poettering (lennart at poettering.net) wrote:

> On Sat, 04.05.13 11:38, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> 
> > A new config file /etc/systemd/sleep.conf is added.
> > It is parsed by systemd-sleep and logind. The strings written
> > to /sys/power/disk and /sys/power/state can be configured.
> > This allows people to use different modes of suspend on
> > systems with broken or special hardware.
> > 
> > Configuration is shared between systemd-sleep and logind
> > to enable logind to answer the question "can the system be
> > put to sleep" as correctly as possible without actually
> > invoking the action. If the user configured systemd-sleep
> > to only use 'freeze', but current kernel does not support it,
> > logind will properly report that the system cannot be put
> > to sleep.
> 
> Looks good! Please commit!

Commited both! Thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list