[systemd-devel] [PATCH 0/3] support for freeze and standby
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed May 1 05:53:47 PDT 2013
Hi,
this is another attempt at quenchinch the desire of various people for
systemd support for both newfangled and quite obsolete suspend modes.
The approach taken is that additional configuration settings are
added, which influence the behaviour of existing verbs for systemd-sleep,
instead of introducing new parameters. The meat is in patch 3/3.
The approach is different from what was discussed on the
https://bugs.freedesktop.org/show_bug.cgi?id=57793. I first implemented
the version with systemd-sleep --mode=... --state=..., but it didn't
feel right. systemd is all about removing scripts and using declarative
configuration, but here we'd tell people to modify some low-level units.
And I think it's better to add two lines to systemd.conf then copy around
units, e.g. to just avoid STR on broken hardware.
Comments?
Zbigniew Jędrzejewski-Szmek (3):
fileio: split write_one_line_file into two
conf-parser: add "ignored sections" parameter
systemd-sleep: add support for freeze and standby
TODO | 3 -
man/systemd-suspend.service.xml | 94 +++++-
man/systemd-system.conf.xml | 53 +++-
man/systemd.xml | 2 +-
src/bootchart/bootchart.c | 4 +-
src/core/load-dropin.c | 6 +-
src/core/load-fragment.c | 2 +-
src/core/main.c | 4 +-
src/journal/journald-server.c | 2 +-
src/login/logind.c | 2 +-
src/shared/conf-parser.c | 10 +-
src/shared/conf-parser.h | 1 +
src/shared/fileio.c | 23 +-
src/shared/fileio.h | 4 +
src/shared/install.c | 2 +-
src/sleep/sleep.c | 320 ++++++++++++++++-----
.../tty-ask-password-agent.c | 3 +-
17 files changed, 430 insertions(+), 105 deletions(-)
--
1.8.2.562.g931e949
More information about the systemd-devel
mailing list