blob: f113000fe7d105c4063faf00c5bf57e6a1667a44 (
plain)
1
2
3
4
5
|
#!/bin/sh
/usr/bin/powertop --auto-tune
for x in $(find /sys -name wakeup) ; do if [ "$(cat $x)" == "enabled" ]; then echo 'disabled' >> $x; fi; done
echo LID | /usr/bin/tee /proc/acpi/wakeup
|