Skip to content

Commit 0f522f8

Browse files
authored
change ipv6 and ipv4 lookup hosts
1 parent 29940b7 commit 0f522f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

static/nextcloud.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
44

5-
WANIP6=$(curl -s -k -m 7 https://6.ifcfg.me)
6-
WANIP4=$(curl -s -m 5 ipinfo.io/ip)
5+
WANIP6=$(curl -s -k -m 7 ipv6bot.whatismyipaddress.com)
6+
WANIP4=$(curl -s -m 5 ipv4bot.whatismyipaddress.com)
77
ADDRESS=$(hostname -I | cut -d ' ' -f 1)
88

99
clear
1010
figlet -f small Nextcloud
11-
echo " https://www.nextcloud.com"
11+
echo "https://www.hanssonit.se/nextcloud-vm"
1212
echo
1313
echo
1414
echo "Hostname: $(hostname -s)"

0 commit comments

Comments
 (0)