Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
Last active March 7, 2016 17:17
Show Gist options
  • Select an option

  • Save rhoconlinux/aa06efb8890ab41b4c51 to your computer and use it in GitHub Desktop.

Select an option

Save rhoconlinux/aa06efb8890ab41b4c51 to your computer and use it in GitHub Desktop.
enable-hibernate.sh-INSTALLER
#!/bin/bash
cd /tmp/
wget https://gist.githubusercontent.com/rhoconlinux/4dabbc8ef0ae7926e823/raw/b7468c08d49d1d6cf0c535f1e25843d6ddfad9ff/com.ubuntu.desktop.pkla -O com.ubuntu.desktop.pkla
sudo mkdir -p /etc/polkit-1/localauthority/10-vendor.d/
mv com.ubuntu.desktop.pkla /etc/polkit-1/localauthority/10-vendor.d/
cd
clear
echo "Hibernate installed. Now logout & login to set it as active."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment