ENH: sleep hack

This commit is contained in:
Matthew Ryan Dillon 2019-02-26 06:51:39 -07:00
parent d43bd3e199
commit 78c88e4e31

10
suspend-fix.service Normal file
View file

@ -0,0 +1,10 @@
# /etc/systemd/system/
[Unit]
Description=Fix for the suspend issue
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo XHC1 > /proc/acpi/wakeup && echo LID0 > /proc/acpi/wakeup"
[Install]
WantedBy=multi-user.target