Update CFwarp.sh

This commit is contained in:
rkygogo 2022-06-24 20:45:51 +08:00 committed by GitHub
parent 0e868ba991
commit e98be3aa2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ cp -f /etc/wireguard/wgcf-profile.conf /etc/wireguard/wgcf.conf >/dev/null 2>&1
} }
WGCFv4(){ WGCFv4(){
yellow "稍等3秒检测VPS内WARP环境" yellow "稍等3秒检测VPS内WARP环境"
docker && checkwgcf && L46 docker && checkwgcf
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
v4v6 v4v6
if [[ -n $v4 && -n $v6 ]]; then if [[ -n $v4 && -n $v6 ]]; then
@ -243,7 +243,7 @@ fi
WGCFv6(){ WGCFv6(){
yellow "稍等3秒检测VPS内WARP环境" yellow "稍等3秒检测VPS内WARP环境"
docker && checkwgcf && L46 docker && checkwgcf
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
v4v6 v4v6
if [[ -n $v4 && -n $v6 ]]; then if [[ -n $v4 && -n $v6 ]]; then
@ -280,7 +280,7 @@ fi
WGCFv4v6(){ WGCFv4v6(){
yellow "稍等3秒检测VPS内WARP环境" yellow "稍等3秒检测VPS内WARP环境"
docker && checkwgcf && L46 docker && checkwgcf
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
v4v6 v4v6
if [[ -n $v4 && -n $v6 ]]; then if [[ -n $v4 && -n $v6 ]]; then