Created
November 3, 2016 03:40
-
-
Save 7rin0/340db5e28e98f2a807f761434c883102 to your computer and use it in GitHub Desktop.
ACPI - Wake up with Power button only (executed by root)
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
#!/bin/bash | |
echo 'UHC1' > /proc/acpi/wakeup | |
echo 'UHC2' > /proc/acpi/wakeup | |
echo 'UHC4' > /proc/acpi/wakeup | |
echo 'UHC6' > /proc/acpi/wakeup | |
echo 'USB5' > /proc/acpi/wakeup | |
echo 'USB3' > /proc/acpi/wakeup | |
echo 'USB5' > /proc/acpi/wakeup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment