diff options
author | Astound <kirito@disroot.org> | 2024-10-07 09:54:29 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2024-10-07 09:54:29 +0800 |
commit | 59faa96386a33da0a6d7ad066e180262c67ffa12 (patch) | |
tree | 7b88e46f5b9853d4b5301109ff0eb3a3e0b4875c /hyperterm/tools | |
parent | 0d2d4d4f9c69c1393c0e8acb91a55c20c1737913 (diff) | |
download | hyperterm-59faa96386a33da0a6d7ad066e180262c67ffa12.tar.lz hyperterm-59faa96386a33da0a6d7ad066e180262c67ffa12.tar.xz hyperterm-59faa96386a33da0a6d7ad066e180262c67ffa12.zip |
Diffstat (limited to 'hyperterm/tools')
-rw-r--r-- | hyperterm/tools/network.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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")}" } |