mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update scaling-governor.sh
tweak
This commit is contained in:
parent
f48837c643
commit
a8c22e0c67
@ -1,5 +1,17 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
function header_info {
|
||||||
|
cat <<"EOF"
|
||||||
|
__________ __ __
|
||||||
|
/ ____/ __ \/ / / /
|
||||||
|
/ / / /_/ / / / /
|
||||||
|
/ /___/ ____/ /_/ /
|
||||||
|
\____/_/ \____/
|
||||||
|
Scaling Governors
|
||||||
|
|
||||||
|
EOF
|
||||||
|
}
|
||||||
clear
|
clear
|
||||||
|
header_info
|
||||||
set -e
|
set -e
|
||||||
while true; do
|
while true; do
|
||||||
read -p "View CPU Scaling Governors. Proceed(y/n)?" yn
|
read -p "View CPU Scaling Governors. Proceed(y/n)?" yn
|
||||||
@ -10,17 +22,7 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
clear
|
clear
|
||||||
function header_info {
|
|
||||||
echo -e "
|
|
||||||
_____ _____ _ _
|
|
||||||
/ ____| __ \| | | |
|
|
||||||
| | | |__) | | | |
|
|
||||||
| | | ___/| | | |
|
|
||||||
| |____| | | |__| |
|
|
||||||
\_____|_| \____/
|
|
||||||
Scaling Governors
|
|
||||||
"
|
|
||||||
}
|
|
||||||
show_menu() {
|
show_menu() {
|
||||||
CL=$(echo "\033[m")
|
CL=$(echo "\033[m")
|
||||||
GN=$(echo "\033[32m")
|
GN=$(echo "\033[32m")
|
||||||
|
Loading…
Reference in New Issue
Block a user