diff options
author | 2018-09-26 11:17:36 +0200 | |
---|---|---|
committer | 2018-10-08 18:21:00 +0200 | |
commit | e8f1d00d695f491654d50e57c82623288d3bcbeb (patch) | |
tree | 9a4bd310da72f0d3ade19937a8f111c95d54551c /TODO | |
parent | shared/sleep-config: forbid hibernation if resume= is not configured (diff) | |
download | systemd-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-- | TODO | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |