summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/47-tweak_laptop-mode-tools
blob: 339c6e209c2614b227ecc9032ad598c5a3615941 (plain)
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