diff --git a/MD/centos.sh b/MD/centos.sh index 9170e7c..049ff68 100644 --- a/MD/centos.sh +++ b/MD/centos.sh @@ -143,7 +143,7 @@ cpu_info() { # 主循环 while true; do list - read -p "请输入您的选项(1-11):" num + read -p "请输入您的选项(1-10):" num case $num in 1) yuan; sleep 2 ;; 2) fire; sleep 2 ;; @@ -155,7 +155,7 @@ while true; do 8) disk; sleep 2;; 9) system_info; sleep 2;; 10)cpu_info; sleep 2;; - 11) echo "退出工具箱,感谢使用!"; exit ;; + q) echo "退出工具箱,感谢使用!"; exit ;; *) echo "输入无效,请输入数字 1-6 选择功能。"; sleep 2 ;; esac done \ No newline at end of file