Update nodeloc_vps_autotest.sh

This commit is contained in:
Jensfrank 2024-06-26 17:26:12 +08:00 committed by GitHub
parent ca2058bb1e
commit 38a3049a08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,12 +98,12 @@ detect_region() {
"JP") echo "3" ;; # 日本 "JP") echo "3" ;; # 日本
"US" | "CA") echo "4" ;; # 北美 "US" | "CA") echo "4" ;; # 北美
"BR" | "AR" | "CL") echo "5" ;; # 南美 "BR" | "AR" | "CL") echo "5" ;; # 南美
"GB" | "DE" | "FR" | "NL" | "SE" | "NO" | "FI" | "DK" | "IT" | "ES" | "CH" | "AT" | "BE") echo "6" ;; # 欧洲 "GB" | "DE" | "FR" | "NL" | "SE" | "NO" | "FI" | "DK" | "IT" | "ES" | "CH" | "AT" | "BE" | "IE" | "PT" | "GR" | "PL" | "CZ" | "HU" | "RO" | "BG" | "HR" | "SI" | "SK" | "LT" | "LV" | "EE") echo "6" ;; # 欧洲
"AU" | "NZ") echo "7" ;; # 大洋洲 "AU" | "NZ") echo "7" ;; # 大洋洲
"KR") echo "8" ;; # 韩国 "KR") echo "8" ;; # 韩国
"SG" | "MY" | "TH" | "ID" | "PH" | "VN") echo "9" ;; # 东南亚 "SG" | "MY" | "TH" | "ID" | "PH" | "VN") echo "9" ;; # 东南亚
"IN") echo "10" ;; # 印度 "IN") echo "10" ;; # 印度
"ZA" | "NG" | "EG") echo "11" ;; # 非洲 "ZA" | "NG" | "EG" | "KE" | "MA" | "TN" | "GH" | "CI" | "SN" | "UG" | "ET" | "MZ" | "ZM" | "ZW" | "BW" | "MW" | "NA" | "RW" | "SD" | "DJ" | "CM" | "AO") echo "11" ;; # 非洲
*) echo "0" ;; # 跨国平台 *) echo "0" ;; # 跨国平台
esac esac
} }