From 3adb437795ff04d9222e50734de0c37c0243f44a Mon Sep 17 00:00:00 2001 From: Chaco Green Date: Wed, 27 May 2020 15:52:50 +0800 Subject: [PATCH] =?UTF-8?q?opt:=20=E4=BC=98=E5=8C=96ttyd=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ttyd/scripts/config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ttyd/scripts/config.sh b/apps/ttyd/scripts/config.sh index 071cd48..55ae637 100644 --- a/apps/ttyd/scripts/config.sh +++ b/apps/ttyd/scripts/config.sh @@ -8,10 +8,10 @@ echo "[${appinfo}]" readsh "启动${appname}服务[1/0] " "enable" "1" if [ "$enable" == '1' ]; then # Scripts Here - # readsh "请输入npc连接命令:" "connect_cmd" - readsh "请输入${appname}端口号" "port" "4200" - + readsh "请输入${appname}端口号" "port" "6000" + readsh "请输入${appname}外网访问配置[1/0]" "openport" "0" + readsh "重启${appname}服务[1/0] " "res" "1" [ "$res" = '1' -o -z "$res" ] && return 0 else return 1 -fi \ No newline at end of file +fi