Address powertop tuneables on laptops

This commit is contained in:
2024-01-22 15:30:50 -05:00
parent f30ec262ec
commit 8f69f93947
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -108,6 +108,8 @@ echo 'blacklist iTCO_wdt' > /etc/modprobe.d/blacklist.conf
# install powertop on laptops
if [ "$formfactor" == 2 ] || [ "$formfactor" == 1 ]; then
pacman -S powertop --needed --noconfirm
echo -e "#!/bin/sh\npowertop --auto-tune &" > /etc/local.d/powertop.start
chmod 755 /etc/local.d/powertop.start
fi
# set home directory permissions