this script configures the system to support hibernate
this script configures the system to support hibernate
configure-hibernate.sh [options]
--help show this help and exit
--unset-recordfail (single option) create a service to unset grub recordfail and get the
grub boot menu will not appear on boot after hibernation. this option
is necessary only if your system is already configured for hibernation,
but you found out that the grub boot menu appear at boot time after
hibernation, and you want to disable it
--polkit=path.pkla path to the polkit .pkla file for configuration, e.g.
/etc/polkit-1/localauthority/50-local.d/org.freedesktop.hibernate.pkla
--suffix=something suffix for backup files. if absent, the datetime stamp will be used
--swap=identifier identifier of the swap partition, something like UUID=84a9...b17 or
/dev/nvme0n1p2
--test test your system for hibernation compatibility
--version show version info and exit
configures the system to support hibernate. asks sudo privileges to change system files.
all options may be absent. use it only if you know what you do and want to get some specific result. if the option is absent, it will be calculated automatically.