d
This commit is contained in:
parent
780aa67514
commit
cf6cf5e79a
@ -344,6 +344,9 @@ desktop() {
|
||||
}
|
||||
|
||||
hibernate() {
|
||||
echo
|
||||
echo
|
||||
echo "[Hibernation Setup]"
|
||||
echo "[Sleep]" >/etc/systemd/sleep.conf
|
||||
echo "AllowSuspend=yes" >>/etc/systemd/sleep.conf
|
||||
echo "AllowHibernation=yes" >>/etc/systemd/sleep.conf
|
||||
@ -356,6 +359,9 @@ hibernate() {
|
||||
unlink /usr/lib/systemd/system/systemd-suspend.service
|
||||
rm -f /usr/lib/systemd/system/systemd-suspend.service
|
||||
ln -s /usr/lib/systemd/system/systemd-suspend-then-hibernate.service /usr/lib/systemd/system/systemd-suspend.service
|
||||
echo
|
||||
echo "Please reboot for changes to take effect"
|
||||
echo
|
||||
}
|
||||
|
||||
installSteam() {
|
||||
|
Loading…
Reference in New Issue
Block a user