This commit is contained in:
Michel Le Cocq 2020-06-22 08:08:20 +02:00
parent fd4ef0ddf0
commit 3a4f3e75b4

View File

@ -198,6 +198,24 @@ change /etc/default/grub : add your resume UUID into GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=75034ff5-...-9e4564e16d34" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=75034ff5-...-9e4564e16d34"
~~~ ~~~
## enable hibernate in system
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
~~~
[Réactive hiberner par défaut dans upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
[Réactive hiberner par défaut dans logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes
~~~
[](https://doc.ubuntu-fr.org/tutoriel/activer_hibernation)
kernel lockdown prevent hibernation : kernel lockdown prevent hibernation :
[](https://unix.stackexchange.com/questions/591488/why-does-the-kernel-lockdown-prevent-hibernation) [](https://unix.stackexchange.com/questions/591488/why-does-the-kernel-lockdown-prevent-hibernation)