From 30b98f7f6487e096bcd40c61e481c8f3cd7b78d3 Mon Sep 17 00:00:00 2001 From: juewuy Date: Fri, 19 Mar 2021 21:30:53 +0800 Subject: [PATCH] =?UTF-8?q?v1.1.6-test=20~=E6=96=B0=E5=A2=9E=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=9C=AC=E6=9C=BAhost=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=EF=BC=887-6-8=EF=BC=89=20~=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=A0=B8=E5=BF=83=E8=87=AA=E5=B8=A6=E7=9A=84=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E4=BF=9D=E5=AD=98=E5=8A=9F=E8=83=BD=EF=BC=88=E4=BC=9A?= =?UTF-8?q?=E5=8D=A0=E7=94=A8=E6=9B=B4=E5=A4=9A=E7=A9=BA=E9=97=B4=EF=BC=89?= =?UTF-8?q?=20~=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=E6=A3=80=E6=B5=8B=E6=9C=AC=E6=9C=BAhost=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84bug=20~=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E5=AF=BC=E5=85=A5=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B1=E8=B4=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 3abab90..9cf85f0 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -166,7 +166,7 @@ EOF` else Https="" #检测节点或providers - if [ -z "$(cat $yamlnew | grep -E 'server:|proxy-providers:' | grep -v 'nameserver')" ];then + if [ -z "$(cat $yamlnew | grep -E 'server:|proxy-providers:' | grep -v 'nameserver' | head -n 1)" ];then echo ----------------------------------------------- logger "获取到了配置文件,但似乎并不包含正确的节点信息!" 31 echo ----------------------------------------------- @@ -264,6 +264,7 @@ secret: $secret $tun $exper $dns +store-selected: false EOF ################################### [ -f $clashdir/user.yaml ] && yaml_user=$clashdir/user.yaml