diff options
author | Jesús <heckyel@hyperbola.info> | 2021-09-30 11:22:15 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-09-30 11:22:15 -0500 |
commit | 0aa679ba8960fb765a38262c14d93752aa5054d8 (patch) | |
tree | e27d6c20c6b4975aee42b03855ccaaacbd5b0f55 /hyperterm/tools/network.sh | |
parent | 0b0369524a0e5a56c93206f0847d1c4711d0b372 (diff) | |
download | hyperterm-0aa679ba8960fb765a38262c14d93752aa5054d8.tar.lz hyperterm-0aa679ba8960fb765a38262c14d93752aa5054d8.tar.xz hyperterm-0aa679ba8960fb765a38262c14d93752aa5054d8.zip |
network: skip certificate
Diffstat (limited to 'hyperterm/tools/network.sh')
-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")}" } |