ENH: sleep hack
This commit is contained in:
parent
d43bd3e199
commit
78c88e4e31
1 changed files with 10 additions and 0 deletions
10
suspend-fix.service
Normal file
10
suspend-fix.service
Normal 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
|
Loading…
Add table
Reference in a new issue