Update scaling-governor.sh

This commit is contained in:
tteckster 2022-03-25 09:56:24 -04:00 committed by GitHub
parent 81ff6dbfd6
commit 397af2d63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
clear clear
set -e
while true; do while true; do
read -p "Change CPU Scaling Governors. Proceed(y/n)?" yn read -p "Change CPU Scaling Governors. Proceed(y/n)?" yn
case $yn in case $yn in
@ -26,7 +26,7 @@ show_menu(){
echo -e "\n${YW}Current CPU Scaling Governor echo -e "\n${YW}Current CPU Scaling Governor
${BL}${CCSG}${CL}" ${BL}${CCSG}${CL}"
printf "\n${BL}********** ${YW}CPU Scaling Governor Selector${CL} ${BL}********${CL}\n" printf "\n$ {fgred}Only Select Available CPU Scaling Governors From Above${CL}\n \n"
printf "${BL}**${YW} 1)${GN} Switch to ${BL}conservative${CL}${GN} CPU Scaling Governor ${CL}\n" printf "${BL}**${YW} 1)${GN} Switch to ${BL}conservative${CL}${GN} CPU Scaling Governor ${CL}\n"
printf "${BL}**${YW} 2)${GN} Switch to ${BL}ondemand${CL}${GN} CPU Scaling Governor ${CL}\n" printf "${BL}**${YW} 2)${GN} Switch to ${BL}ondemand${CL}${GN} CPU Scaling Governor ${CL}\n"
printf "${BL}**${YW} 3)${GN} Switch to ${BL}userspace${CL}${GN} CPU Scaling Governor ${CL}\n" printf "${BL}**${YW} 3)${GN} Switch to ${BL}userspace${CL}${GN} CPU Scaling Governor ${CL}\n"