setup-files/enter-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
302 B
Bash
Executable file

#!/bin/bash
sed -i "s/TLP_ENABLE=0/TLP_ENABLE=1/" /etc/tlp.conf
tlp start
systemctl unmask thermald.service
systemctl enable thermald.service
systemctl start thermald.service
systemctl stop lenovo_fix.service
systemctl disable lenovo_fix.service
echo "Powersaving applied" > ~/powersave-status.txt