]> git.ipfire.org Git - thirdparty/systemd.git/commit
sleep-config: remove HibernateState= & HybridSleepState=, restrict
authorMike Yuan <me@yhndnzj.com>
Fri, 20 Oct 2023 16:21:20 +0000 (00:21 +0800)
committerMike Yuan <me@yhndnzj.com>
Mon, 23 Oct 2023 15:12:27 +0000 (23:12 +0800)
commit1f82c21dceb2db0706c8f734ed5d8d7febc86477
tree976a438b2075f19f451f5eea96b6f83874fa9ec4
parent080105d77a6064026400d02ff66397e82698f187
sleep-config: remove HibernateState= & HybridSleepState=, restrict
SuspendState= not to include "disk"

I don't know why these existed in the first place, but as I
justified in the comments, it's simply not sensible to allow
HibernateState= or HybridSleepState= to take values other than
'disk'. So let's just remove those options. Also, SuspendState=
should not contain 'disk'.
man/systemd-sleep.conf.xml
src/shared/sleep-config.c
src/sleep/sleep.conf