aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-26 11:17:36 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-10-08 18:21:00 +0200
commite8f1d00d695f491654d50e57c82623288d3bcbeb (patch)
tree9a4bd310da72f0d3ade19937a8f111c95d54551c /TODO
parentshared/sleep-config: forbid hibernation if resume= is not configured (diff)
downloadsystemd-e8f1d00d695f491654d50e57c82623288d3bcbeb.tar.gz
systemd-e8f1d00d695f491654d50e57c82623288d3bcbeb.tar.bz2
systemd-e8f1d00d695f491654d50e57c82623288d3bcbeb.zip
shared/sleep-config: add switches to kill specific sleep modes
/etc/systemd/sleep.conf gains four new switches: AllowSuspend=, AllowHibernation=, AllowSuspendThenHibernate=, AllowHybridSleep=. Disabling specific modes was already possible by masking suspend.target, hibernate.target, suspend-then-hibernate.target, or hybrid-sleep.target. But this is not convenient for distributions, which want to set some defaults based on what they want to support. Having those available as configuration makes it easy to put a config file in /usr/lib/systemd/sleep.conf.d/ that overrides the defaults and gives instructions how to undo that override.
Diffstat (limited to 'TODO')
-rw-r--r--TODO5
1 files changed, 2 insertions, 3 deletions
diff --git a/TODO b/TODO
index 59ea95746..e1f3dfb7c 100644
--- a/TODO
+++ b/TODO
@@ -87,9 +87,8 @@ Features:
1. add resume_offset support to the resume code (i.e. support swap files
properly)
2. check if swap is on weird storage and refuse if so
- 3. add env-var based option to disable hibernation
- 4. figure out what to do with swap-on-luks
- 5. add autodetection of hibernation images
+ 3. figure out what to do with swap-on-luks
+ 4. add autodetection of hibernation images
* portables: introduce a new unit file directory /etc/systemd/system.attached/
or so, where we attach portable services to