setup-files/leave-powersave.sh
AKP 492cd3cdce
Make all shell scripts executable
Signed-off-by: AKP <tom@tdpain.net>
2021-06-01 09:35:59 +01:00

13 lines
347 B
Bash
Executable file

#!/bin/bash
sed -i "s/TLP_ENABLE=1/TLP_ENABLE=0/" /etc/tlp.conf
echo "TLP disabled, restart required to take effect"
systemctl stop thermald.service
systemctl disable thermald.service
systemctl mask thermald.service
systemctl enable lenovo_fix.service
systemctl start lenovo_fix.service
echo "Powersaving not applied" > ~/powersave-status.txt