[ clash ] 新增clash-sub

This commit is contained in:
zeaslity
2024-03-21 11:39:46 +08:00
parent 02022603ed
commit 7883ddeba5
11 changed files with 395 additions and 739 deletions

View File

@@ -323,12 +323,12 @@ get_ipv4_info() {
FunctionStart "开始收集服务器IP信息"
# public ip info
net_provider="$(wget -q -T10 -O- ipinfo.io/org)"
city="$(wget -q -T10 -O- ipinfo.io/city)"
country="$(wget -q -T10 -O- ipinfo.io/country)"
region="$(wget -q -T10 -O- ipinfo.io/region)"
public_ipv4="$(wget -q -T10 -O- ipinfo.io/ip)"
public_ipv6="$(curl -q --max-time 5 -6 https://ifconfig.co/ip)"
net_provider="$(wget -q --timeout=2 -O- ipinfo.io/org)"
city="$(wget -q --timeout=2 -O- ipinfo.io/city)"
country="$(wget -q --timeout=2 -O- ipinfo.io/country)"
region="$(wget -q --timeout=2 -O- ipinfo.io/region)"
public_ipv4="$(wget -q --timeout=2 -O- ipinfo.io/ip)"
public_ipv6="$(curl -q --max-time 2 -6 https://ifconfig.co/ip)"
if [[ $city -eq "" ]]; then
city="Chengdu"