From 1794d670e1858308b9197f9b4fc7d4919be53bd9 Mon Sep 17 00:00:00 2001 From: lc Date: Thu, 13 Feb 2025 06:47:55 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20frpc.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frpc.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/frpc.sh b/frpc.sh index f6c3c4f..1cbd949 100644 --- a/frpc.sh +++ b/frpc.sh @@ -53,16 +53,14 @@ if [ -f "$CONFIG_FILE" ]; then echo "配置文件已存在,跳过生成步骤。" else # 用户输入 frps 服务器地址和端口号 - echo "请输入 frps 服务器地址(例如:frps.example.com):" - read FRPS_SERVER - echo "请输入 frps 服务器端口号(例如:7000):" - read FRPS_PORT + read -p "请输入 frps 服务器地址: " FRPS_SERVER + read -p "请输入 frps 服务器端口号: " FRPS_PORT # 写入 TOML 配置文件 echo "正在写入 TOML 配置文件 ..." sudo bash -c "cat > $CONFIG_FILE" <