From 81ab902077aad344f2bec936cc53817d544b622c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Sun, 1 Sep 2024 16:43:12 +0800 Subject: [PATCH] fix: read setip --- cattools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cattools.sh b/cattools.sh index 7fa6b32..943b196 100644 --- a/cattools.sh +++ b/cattools.sh @@ -168,6 +168,7 @@ network_wizard() { echo echo "[Step3] CatWrt default IP is 192.168.1.4 /// 默认 CatWrt IP 为 192.168.1.4" + read -p "是否修改 IP 地址?([Enter] 保持默认 / [0] 自定义): " modify_ip if [ "$modify_ip" == "0" ]; then read -p "请输入 IP (默认为 $DEFAULT_IP): " input_ip if [[ -z $input_ip ]]; then