diff --git a/install.sh b/install.sh index 0fc2605..5318cbf 100644 --- a/install.sh +++ b/install.sh @@ -58,7 +58,7 @@ checkSystem() { removeType='yum -y remove' upgrade="yum update -y --skip-broken" checkCentosSELinux - elif [[ -f "/etc/issue" ]] && grep 无法使用托管在cloudflare并开启代理的域名,使用此类型域名可能导致VPS流量被其他人使用,退出安装。" + exit 0 + fi +} + # 初始化reality dest initRealityDest() { if [[ -n "${domain}" ]]; then @@ -7617,6 +7627,7 @@ initRealityDest() { echoContent red "\n ---> 域名不合规范,请重新输入" initRealityDest else + checkRealityDest echoContent yellow "\n ---> 回落域名: ${realityDestDomain}" fi fi @@ -7876,7 +7887,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.10.6" + echoContent green "当前版本:v2.10.7" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus