From a3066c7195b8b99cb87140f39a1fea4827c6ee7b Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 23 Dec 2020 10:37:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9r?= =?UTF-8?q?outing=E8=A7=84=E5=88=99=E3=80=81=E4=BF=AE=E6=94=B9ping6?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 7217d49..43278eb 100644 --- a/install.sh +++ b/install.sh @@ -2645,7 +2645,7 @@ aliasInstall(){ # 检查ipv6、ipv4 checkIPv6(){ - pingIPv6=`ping6 -c 1 -W 1000 www.google.com|sed '2{s/[^(]*(//;s/).*//;q;}'|tail -n +2` + pingIPv6=`ping6 -c 1 www.google.com|sed '2{s/[^(]*(//;s/).*//;q;}'|tail -n +2` if [[ -z "${pingIPv6}" ]] then echoContent red " ---> 不支持ipv6" @@ -2667,7 +2667,7 @@ ipv6HumanVerification(){ cat << EOF > ${configPath}09_routing.json { "routing":{ - "domainStrategy": "AsIs", + "domainStrategy": "IPOnDemand", "rules": [ { "type": "field", @@ -2999,7 +2999,7 @@ menu(){ cd echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.2.5" + echoContent green "当前版本:v2.2.6" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:七合一共存脚本" echoContent red "=============================================================="