更新 MD/centos.sh
This commit is contained in:
parent
5f068409b6
commit
1a17b1b47e
@ -143,7 +143,7 @@ cpu_info() {
|
|||||||
# 主循环
|
# 主循环
|
||||||
while true; do
|
while true; do
|
||||||
list
|
list
|
||||||
read -p "请输入您的选项(1-11):" num
|
read -p "请输入您的选项(1-10):" num
|
||||||
case $num in
|
case $num in
|
||||||
1) yuan; sleep 2 ;;
|
1) yuan; sleep 2 ;;
|
||||||
2) fire; sleep 2 ;;
|
2) fire; sleep 2 ;;
|
||||||
@ -155,7 +155,7 @@ while true; do
|
|||||||
8) disk; sleep 2;;
|
8) disk; sleep 2;;
|
||||||
9) system_info; sleep 2;;
|
9) system_info; sleep 2;;
|
||||||
10)cpu_info; sleep 2;;
|
10)cpu_info; sleep 2;;
|
||||||
11) echo "退出工具箱,感谢使用!"; exit ;;
|
q) echo "退出工具箱,感谢使用!"; exit ;;
|
||||||
*) echo "输入无效,请输入数字 1-6 选择功能。"; sleep 2 ;;
|
*) echo "输入无效,请输入数字 1-6 选择功能。"; sleep 2 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
Loading…
Reference in New Issue
Block a user