Update CFwarp.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2022-12-16 13:34:35 +00:00
parent f4ad5725ce
commit a0b0562739
1 changed files with 5 additions and 1 deletions

View File

@ -246,7 +246,11 @@ systemctl restart warp-go
systemctl enable warp-go
systemctl start warp-go
checkwgcf
[[ $wgcfv4 =~ on|plus || $wgcfv6 =~ on|plus ]] && green "恭喜warp的IP获取成功" && dns && break || red "遗憾warp的IP获取失败"
if [[ $wgcfv4 =~ on|plus || $wgcfv6 =~ on|plus ]]; then
green "恭喜warp的IP获取成功" && dns && break
else
red "遗憾warp的IP获取失败"
fi
done
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
yellow "安装WARP失败还原VPS卸载WARP组件中……"