#!/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