Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -s
- echo AS43 > /proc/acpi/wakeup
- echo PTXH > /proc/acpi/wakeup
- [Unit]
- Description=fix to prevent system from waking immediately after suspend
- [Service]
- Type=simple
- ExecStartPre=/bin/sh -c '/bin/echo GPP2 > /proc/acpi/wakeup'
- ExecStart=/bin/sh -c '/bin/echo AS43 > /proc/acpi/wakeup'
- ExecStartPost=/bin/sh -c '/bin/echo PTXH > /proc/acpi/wakeup'
- RemainAfterExit=yes
- TimeoutSec=90s
- [Install]
- WantedBy=sleep.target
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment