From 59faa96386a33da0a6d7ad066e180262c67ffa12 Mon Sep 17 00:00:00 2001 From: Astound Date: Mon, 7 Oct 2024 09:54:29 +0800 Subject: update checker public ip --- hyperterm/tools/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyperterm/tools/network.sh') diff --git a/hyperterm/tools/network.sh b/hyperterm/tools/network.sh index 509a40d..62c38f8 100644 --- a/hyperterm/tools/network.sh +++ b/hyperterm/tools/network.sh @@ -3,7 +3,7 @@ function __network() { unset MY_IP unset MY_ISP local ipv4 - ipv4=$(curl -fsSLk https://v4.myip.vc/flat) + ipv4=$(curl -fsSLk https://v4.myip.ninja) : "${MY_IP:=$(ip route show table local | awk -F "local" '{print $2}' | uniq)}" : "${MY_ISP:=$(printf '%s\e[1;36m%s\e[m\n' 'IPv4: ' "$ipv4")}" } -- cgit v1.2.3