Created
December 25, 2018 04:29
-
-
Save longcw/9954e49d8d5b16f8324e3040a725667d to your computer and use it in GitHub Desktop.
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
waking=$(acpitool -w |grep enabled |awk '{print $2}') | |
for dev in $waking; do | |
echo "$dev" > /proc/acpi/wakeup | |
done | |
sudo acpitool -w | |
systemctl suspend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment