Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenoch85 <enoch85@gmail.com>2016-06-03 16:27:39 +0300
committerenoch85 <enoch85@gmail.com>2016-06-03 16:27:39 +0300
commitec5cb1753f2e6e0b571ee9bcf07a1b38674b88cc (patch)
tree8151588ec7b80e23b020c36fa33c43aaa7aed2e2 /static/nextcloud.sh
parent87a7170e40dbae964210c61f31ed5d8c7e98c35b (diff)
first commit
Diffstat (limited to 'static/nextcloud.sh')
-rw-r--r--static/nextcloud.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/static/nextcloud.sh b/static/nextcloud.sh
new file mode 100644
index 00000000..2d14a338
--- /dev/null
+++ b/static/nextcloud.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+WANIP=$(dig +short myip.opendns.com @resolver1.opendns.com)
+ADDRESS=$(hostname -I | cut -d ' ' -f 1)
+clear
+figlet -f small Nextcloud
+echo " https://nextcloud.com/"
+echo
+echo
+echo
+echo "WAN IP: $WANIP"
+echo "LAN IP: $ADDRESS"
+echo
+exit 0