From 9766dc2cc38a4e0c9a8af899f0968275d3abc8d8 Mon Sep 17 00:00:00 2001 From: Oliver V Date: Mon, 17 Dec 2018 02:35:00 +0100 Subject: nc-init: update echo at end when init done. (#738) --- install.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8c3c78e7..45cca848 100644 --- a/install.sh +++ b/install.sh @@ -53,9 +53,19 @@ install_script ncp.sh activate_script etc/ncp-config.d/nc-init.sh popd + +IFACE="$( ip r | grep "default via" | awk '{ print $5 }' | head -1 )" +IP="$( ip a show dev "$IFACE" | grep global | grep -oP '\d{1,3}(.\d{1,3}){3}' | head -1 )" + echo "Done. -Type 'sudo ncp-config' to configure NCP, or access ncp-web on https://:4443 +First: Visit https://$IP/ https://nextcloudpi.local/ (also https://nextcloudpi.lan/ or https://nextcloudpi/ on windows and mac) +to activate your instance of NC, and save the auto generated passwords. You may review or reset them +anytime by using nc-admin and nc-passwd. +Second: Type 'sudo ncp-config' to further configure NCP, or access ncp-web on https://$IP:4443/ +Note: You will have to add an exception, to bypass your browser warning when you +first load the activation and :4443 pages. You can run letsencrypt to get rid of +the warning if you have a (sub)domain available. " exit 0 -- cgit v1.2.3