script for enabling hibernation in ubuntu
This commit is contained in:
parent
69ef2cb93e
commit
2099afe626
2 changed files with 13 additions and 0 deletions
9
ubuntu/com.ubuntu.enable-hibernate.pkla
Normal file
9
ubuntu/com.ubuntu.enable-hibernate.pkla
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Re-enable hibernate by default in upower]
|
||||||
|
Identity=unix-user:*
|
||||||
|
Action=org.freedesktop.upower.hibernate
|
||||||
|
ResultActive=yes
|
||||||
|
|
||||||
|
[Re-enable hibernate by default in logind]
|
||||||
|
Identity=unix-user:*
|
||||||
|
Action=org.freedesktop.login1.hibernate
|
||||||
|
ResultActive=yes
|
4
ubuntu/enable_hibernation
Executable file
4
ubuntu/enable_hibernation
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sudo cp -v com.ubuntu.enable-hibernate.pkla /var/lib/polkit-1/localauthority/50-local.d/
|
||||||
|
echo "Don't forget to install Hibernate Status Button"
|
||||||
|
|
Loading…
Reference in a new issue