Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-03-24 02:00:26 +00:00
parent c4aa7ad135
commit aa431fc0a5
1 changed files with 5 additions and 3 deletions

8
661.sh
View File

@ -590,13 +590,14 @@ red "遗憾warp的IP获取失败"
fi
done
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
yellow "安装WARP失败还原VPS卸载WARP组件中……"
yellow "安装WARP失败还原VPS卸载WARP"
cwg && rm -rf /root/warpip
echo
[[ $release = Centos && ${vsid} -lt 7 ]] && yellow "当前系统版本号Centos $vsid \n建议使用 Centos 7 以上系统 "
[[ $release = Ubuntu && ${vsid} -lt 18 ]] && yellow "当前系统版本号Ubuntu $vsid \n建议使用 Ubuntu 18 以上系统 "
[[ $release = Debian && ${vsid} -lt 10 ]] && yellow "当前系统版本号Debian $vsid \n建议使用 Debian 10 以上系统 "
red "建议选择WGCF核心来安装WARP"
red "可以使用方案二或方案三"
red "建议选择WGCF核心来安装WARP方案一"
exit
else
green "ok" && systemctl restart warp-go
@ -1406,7 +1407,8 @@ echo
[[ $release = Centos && ${vsid} -lt 7 ]] && yellow "当前系统版本号Centos $vsid \n建议使用 Centos 7 以上系统 "
[[ $release = Ubuntu && ${vsid} -lt 18 ]] && yellow "当前系统版本号Ubuntu $vsid \n建议使用 Ubuntu 18 以上系统 "
[[ $release = Debian && ${vsid} -lt 10 ]] && yellow "当前系统版本号Debian $vsid \n建议使用 Debian 10 以上系统 "
red "建议选择WARP-GO核心来安装WARP"
red "可以使用方案二或方案三"
red "建议选择WARP-GO核心来安装WARP方案一"
exit
else
green "ok"