Last active
April 16, 2018 20:20
-
-
Save michaeldeboeve/286b303da7ccca566a742f15f39b9aac to your computer and use it in GitHub Desktop.
Disable/Restore Hibernation on Linux Mint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable | |
# With that, you've moved the settings file that enables hibernation, to the main directory / (root). Thus rendering it ineffective. The new location is a safe storage, from which you can retrieve it again, should you ever wish to restore hibernation. | |
sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla / | |
# Restore | |
sudo mv -v /com.ubuntu.enable-hibernate.pkla /etc/polkit-1/localauthority/50-local.d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment