From 2679d4a1048fdbcfbdd28aade1ab8485b7d7aa8a Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Sun, 11 Aug 2024 03:51:01 +0200 Subject: [PATCH] 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. --- Debian/CPU Governor/setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Debian/CPU Governor/setup.sh b/Debian/CPU Governor/setup.sh index 7f63707..c704a6a 100644 --- a/Debian/CPU Governor/setup.sh +++ b/Debian/CPU Governor/setup.sh @@ -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 \ No newline at end of file