From 8f69f939474d93571d286ff0877da3d507e8b148 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Mon, 22 Jan 2024 15:30:50 -0500 Subject: [PATCH] Address powertop tuneables on laptops --- chrootInstall.sh | 2 ++ install.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index 166901f..941cf13 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -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 diff --git a/install.sh b/install.sh index 4160bde..b89267f 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ loadkeys us echo ---------------------------------------------------------------------------------------------- echo rwinkhart\'s artix install script -echo last updated january 22, 2024 \(rev. A\) +echo last updated january 22, 2024 \(rev. B\) echo ---------------------------------------------------------------------------------------------- echo You will be asked some questions before installation. echo -e "----------------------------------------------------------------------------------------------\n"