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:
parent
a6172c3822
commit
2679d4a104
@ -52,10 +52,10 @@ if [ $? != 0 ]; then
|
||||
# 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
|
||||
TERM=ansi whiptail --title "Info" --infobox "Please stand by while this script downloads the next installer" 7 66
|
||||
sleep 5
|
||||
#wget next installer from rep
|
||||
wget https://git.ictcorpnet.com/b.waal/Snippets/raw/branch/main/Debian/Powertop/setup.sh -O /tmp/powertop-setup.sh
|
||||
bash /tmp/powertop-setup.sh
|
||||
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
|
||||
fi
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user