On Sat, 04.05.13 11:38, Zbigniew Jędrzejewski-Szmek ([email protected]) 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!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to