From 1a17b1b47ec036eab0155cf0d9aab635fac95790 Mon Sep 17 00:00:00 2001 From: zwb Date: Mon, 17 Mar 2025 15:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20MD/centos.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MD/centos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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