Initial Clone
This commit is contained in:
19
static/nextcloud.sh
Executable file
19
static/nextcloud.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# T&M Hansson IT AB © - 2019, https://www.hanssonit.se/
|
||||
|
||||
WANIP6=$(curl -s -k -m 5 https://ipv6bot.whatismyipaddress.com)
|
||||
WANIP4=$(curl -s -k -m 5 https://ipv4bot.whatismyipaddress.com)
|
||||
ADDRESS=$(hostname -I | cut -d ' ' -f 1)
|
||||
|
||||
clear
|
||||
figlet -f small Nextcloud
|
||||
echo "https://www.hanssonit.se/nextcloud-vm"
|
||||
echo
|
||||
echo
|
||||
echo "Hostname: $(hostname -s)"
|
||||
echo "WAN IPv4: $WANIP4"
|
||||
echo "WAN IPv6: $WANIP6"
|
||||
echo "LAN IPv4: $ADDRESS"
|
||||
echo
|
||||
exit 0
|
||||
Reference in New Issue
Block a user