Update Debian/CPU Governor/setup.sh

Added correct URL if user also wants to add the powertop package.
Edited the finishing setup dialog, informing users that no reboot is required to apply the new settings.
This commit is contained in:
b.waal 2024-08-11 03:51:01 +02:00
parent a6172c3822
commit 2679d4a104

View File

@ -52,10 +52,10 @@ if [ $? != 0 ]; then
# If package does not exist ask the user to install and configure powertop # If package does not exist ask the user to install and configure powertop
if whiptail --title "Info" --yesno "Also install and configure powertop? \n\nPowertop is a tool to enable various powersaving modes." 11 59; then if whiptail --title "Info" --yesno "Also install and configure powertop? \n\nPowertop is a tool to enable various powersaving modes." 11 59; then
TERM=ansi whiptail --title "Info" --infobox "Please stand by while this script downloads the next installer" 7 66 TERM=ansi whiptail --title "Info" --infobox "Please stand by while this script downloads the next installer" 7 66
sleep 5 wget https://git.ictcorpnet.com/b.waal/Snippets/raw/branch/main/Debian/Powertop/setup.sh -O /tmp/powertop-setup.sh
#wget next installer from rep bash /tmp/powertop-setup.sh
else else
TERM=ansi whiptail --title "Info" --msgbox "Setup finished!" 8 19 TERM=ansi whiptail --title "Info" --msgbox "Setup finished! \n\nThe new settings are automaticly applied.\nNo need to reboot!" 11 45
clear clear
fi fi
fi fi