feat(脚本): 完善内容

pull/534/merge
mack-a 2020-09-02 17:12:17 +08:00
parent 9d4c3e586e
commit dc6c1074c6
1 changed files with 6 additions and 0 deletions

View File

@ -490,6 +490,12 @@ installV2Ray(){
else
# progressTools "green" " v2ray-core版本:`/etc/v2ray-agent/v2ray/v2ray --version|awk '{print $2}'|head -1`"
echoContent green " ---> v2ray-core版本:`/etc/v2ray-agent/v2ray/v2ray --version|awk '{print $2}'|head -1`"
read -p "是否重新安装?[y/n]:" reInstalV2RayStatus
if [[ "${reInstalV2RayStatus}"="y" ]]
then
rm -rf /etc/v2ray-agent/v2ray/*
installV2Ray $1
fi
fi
}
# 验证整个服务是否可用