Added script to disable bizarre power-on loop after system sleep in arch (macbook)
This commit is contained in:
parent
190bb4fb1e
commit
3cecf171f3
7
systemd-utils/macbook_pro13/suspend-fix.service
Executable file
7
systemd-utils/macbook_pro13/suspend-fix.service
Executable file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Disables magnetic sensor wakeup, allowing arch to sleep
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "echo XHC! > /proc/acpi/wakeup && echo LID0 > /proc/acpi/wakeup"
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user