mirror of
https://github.com/schroinerxy/Sing-box.git
synced 2026-06-21 20:35:47 +08:00
change isp api
This commit is contained in:
@@ -525,7 +525,7 @@ EOF
|
||||
get_links(){
|
||||
argodomain=$(get_argodomain)
|
||||
echo -e "\e[1;32mArgoDomain:\e[1;35m${argodomain}\e[0m\n"
|
||||
ISP=$(curl -sm 3 -H "User-Agent: Mozilla/5.0" "https://api.ip.sb/geoip" | awk -F\" '{print $32}' | sed -e 's/ /_/g || echo "0")
|
||||
ISP=$(curl -sm 3 -H "User-Agent: Mozilla/5.0" "https://api.ip.sb/geoip" | awk -F\" '{print $32}' | sed -e 's/ /_/g' || echo "0")
|
||||
get_name() { if [ "$HOSTNAME" = "s1.ct8.pl" ]; then SERVER="CT8"; else SERVER=$(echo "$HOSTNAME" | cut -d '.' -f 1); fi; echo "$SERVER"; }
|
||||
NAME="$ISP-$(get_name)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user