更新 choose-cn-v2.sh
阿里云下行修改为8M
This commit is contained in:
parent
ec956e6b22
commit
bff3908f11
@ -71,9 +71,9 @@ do
|
||||
# 显示下载速度
|
||||
echo "$ip has a download speed of $download_speed Mbps"
|
||||
|
||||
# 如果下载速度大于等于 50Mbps
|
||||
if (( $(echo "$download_speed >= 50" | bc -l) )); then
|
||||
# 将大于等于 50Mbps 的 IP 写入 final_ips.txt
|
||||
# 如果下载速度大于等于 8Mbps
|
||||
if (( $(echo "$download_speed >= 8" | bc -l) )); then
|
||||
# 将大于等于 8Mbps 的 IP 写入 final_ips.txt
|
||||
echo "$ip" >> final_ips.txt
|
||||
fi
|
||||
else
|
||||
@ -81,7 +81,7 @@ do
|
||||
fi
|
||||
done < ip.txt
|
||||
|
||||
echo "Download tests completed. IPs with download speed >= 50Mbps are written to final_ips.txt"
|
||||
echo "Download tests completed. IPs with download speed >= 8Mbps are written to final_ips.txt"
|
||||
|
||||
# Cloudflare DDNS 更新部分
|
||||
# 以下变量需要填写
|
||||
|
Loading…
x
Reference in New Issue
Block a user