From 71b01f70f590c176e6d60ed0a2dc1fe63789dd1b Mon Sep 17 00:00:00 2001 From: dongge Date: Sun, 16 Nov 2025 01:48:46 +0100 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20cns.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cns.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cns.sh b/cns.sh index 209f78b..699df60 100644 --- a/cns.sh +++ b/cns.sh @@ -28,20 +28,20 @@ Error() { #Make cns start cmd Config() { [ -n "$cns_install_dir" ] && return #Variables come from the environment - echo -n "Please input cns server port(If not need, please skip): " + echo -n "请输入cns服务端口(如果不用请留空): " read cns_port - echo -n "Please input cns encrypt password(If not need, please skip): " + echo -n "请输入cns加密密码(默认不加密): " read cns_encrypt_password - echo -n "Please input cns udp flag(Defaule is 'httpUDP'): " + echo -n "请输入cns的udp标识(默认: 'httpUDP'): " read cns_udp_flag - echo -n "Please input cns proxy key(Default is 'Meng'): " + echo -n "请输入cns代理头域(默认: 'Meng'): " read cns_proxy_key - echo -n "Please input tls server port(If not need, please skip): " + echo -n "请输入tls服务端口(如果不用请留空): " read cns_tls_port - echo -n "Please input cns install directory(difault is /usr/local/cns): " + echo -n "请输入cns安装目录(默认/usr/local/cns): " read cns_install_dir echo "${cns_install_dir:=/usr/local/cns}"|grep -q '^/' || cns_install_dir="$PWD/$cns_install_dir" - echo -n "Install UPX compress version?[n]: " + echo -n "是否安装UPX压缩版?[n]: " read cns_UPX echo "$cns_UPX"|grep -qi '^y' && cns_UPX="upx" || cns_UPX="" }