mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp.sh
This commit is contained in:
parent
523223b794
commit
ea9756b5d3
|
@ -168,7 +168,6 @@ wgcfv4=$(curl -s4m6 https://www.cloudflare.com/cdn-cgi/trace -k | grep warp | cu
|
||||||
warpip(){
|
warpip(){
|
||||||
checkpt(){
|
checkpt(){
|
||||||
mkdir -p /root/warpip
|
mkdir -p /root/warpip
|
||||||
rm -rf /root/warpip/*
|
|
||||||
if [[ ! -f '/root/warpip/result.csv' ]]; then
|
if [[ ! -f '/root/warpip/result.csv' ]]; then
|
||||||
cpujg
|
cpujg
|
||||||
v4v6
|
v4v6
|
||||||
|
@ -345,6 +344,7 @@ green "脚本将自动应用本地VPS优选的warp对端IP地址:$endpoint"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
warpip
|
||||||
|
|
||||||
checkwgcf
|
checkwgcf
|
||||||
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
|
if [[ ! $wgcfv4 =~ on|plus && ! $wgcfv6 =~ on|plus ]]; then
|
||||||
|
|
Loading…
Reference in New Issue