diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-12-17 19:32:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-17 19:32:46 +0300 |
commit | bb612fea061ed2845ca6444607b21de4b080abe6 (patch) | |
tree | 293961c579f0083835f80fb0d0e04131b61ac674 /static/nextcloud.sh | |
parent | 508bd812f356b64049a322dd21028d5ceae5bb21 (diff) |
more msg_box (#429)
* more msg_box
* fix https://github.com/nextcloud/vm/issues/427
* Update fail2ban.sh
Diffstat (limited to 'static/nextcloud.sh')
-rw-r--r-- | static/nextcloud.sh | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/static/nextcloud.sh b/static/nextcloud.sh index 48b63d4c..df8b0b50 100644 --- a/static/nextcloud.sh +++ b/static/nextcloud.sh @@ -2,17 +2,9 @@ # Tech and Me © - 2017, https://www.techandme.se/ -# shellcheck disable=2034,2059 -true -# shellcheck source=lib.sh -LOAD_IP6=1 . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh) -unset LOAD_IP6 - -# Check for errors + debug code and abort if something isn't right -# 1 = ON -# 0 = OFF -DEBUG=0 -debug_mode +WANIP6=$(curl -s -k -m 7 https://6.ifcfg.me) +WANIP4=$(curl -s -m 5 ipinfo.io/ip) +ADDRESS=$(hostname -I | cut -d ' ' -f 1) clear figlet -f small Nextcloud |