diff options
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 132b090..509a40d 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 -fsSL https://v4.myip.vc/flat) + ipv4=$(curl -fsSLk https://v4.myip.vc/flat) : "${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")}" } |