summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-26 11:17:36 +0200
committerSven Eden <sven.eden@prydeworx.com>2018-10-29 10:18:29 +0100
commite5ac9d202b9a8189a34cecf2529afd72bc1ff024 (patch)
tree6688afee36d0e9c1b8c662f2d6ad2fe8f6fc1784 /meson_options.txt
parentc3b4442469f5544a65a26e7194c50d922bec7292 (diff)
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. (cherry picked from commit e8f1d00d695f491654d50e57c82623288d3bcbeb)
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions