diff options
author | Daniel Hansson <github@hanssonit.se> | 2018-11-23 00:22:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 00:22:16 +0300 |
commit | 0f522f8a1c890f5a4a4109b301c3c95c77d9c325 (patch) | |
tree | fd356862b7f9a9d738564375968561658a80d73e /static/nextcloud.sh | |
parent | 29940b741f5b4146a444e829c73af5576d7e294d (diff) |
change ipv6 and ipv4 lookup hosts
Diffstat (limited to 'static/nextcloud.sh')
-rw-r--r-- | static/nextcloud.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/nextcloud.sh b/static/nextcloud.sh index 1f5909f9..d187c12a 100644 --- a/static/nextcloud.sh +++ b/static/nextcloud.sh @@ -2,13 +2,13 @@ # T&M Hansson IT AB © - 2018, https://www.hanssonit.se/ -WANIP6=$(curl -s -k -m 7 https://6.ifcfg.me) -WANIP4=$(curl -s -m 5 ipinfo.io/ip) +WANIP6=$(curl -s -k -m 7 ipv6bot.whatismyipaddress.com) +WANIP4=$(curl -s -m 5 ipv4bot.whatismyipaddress.com) ADDRESS=$(hostname -I | cut -d ' ' -f 1) clear figlet -f small Nextcloud -echo " https://www.nextcloud.com" +echo "https://www.hanssonit.se/nextcloud-vm" echo echo echo "Hostname: $(hostname -s)" |