47-tweak_laptop-mode-tools 176 Bytes
Newer Older
1 2 3 4 5 6 7 8
#!/bin/sh

set -e

echo "Tweaking laptop-mode-tools"

sed -i'' 's,^CONTROL_RUNTIME_AUTOSUSPEND=1$,CONTROL_RUNTIME_AUTOSUSPEND=0,' \
    /etc/laptop-mode/conf.d/runtime-pm.conf