diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-03-02 01:24:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-02 01:24:22 +0300 |
commit | 0f4d46f5d99afa7f7efe647263aeae19c8775073 (patch) | |
tree | e68e050a1e85d3ecf1b28b76299d431c087a894c /static/nextcloud.sh | |
parent | 77cb198fc399dcd2dfd2dad76723b91564a31837 (diff) |
Change from curl to wget (#145)
Diffstat (limited to 'static/nextcloud.sh')
-rw-r--r-- | static/nextcloud.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/nextcloud.sh b/static/nextcloud.sh index 71fefd28..368a5de1 100644 --- a/static/nextcloud.sh +++ b/static/nextcloud.sh @@ -1,6 +1,6 @@ #!/bin/bash -WANIP4=$(curl -s ipinfo.io/ip -m 5) -WANIP6=$(curl -s 6.ifcfg.me -m 5) +WANIP4=$(curl -s -m 5 ipinfo.io/ip) +WANIP6=$(curl -s -m 5 6.ifcfg.me) ADDRESS=$(hostname -I | cut -d ' ' -f 1) clear figlet -f small Nextcloud |