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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-11-27 22:10:12 +0300
committernachoparker <nacho@ownyourbits.com>2017-11-27 22:10:12 +0300
commit6c7cd4b8be13c038fb035871be5953c4f4d8075f (patch)
treee094ee531ae7d325ce40e5ae19ef9c0fd84b92a8
parent58d4ca62448b868fccf8e01e569df8145e8b7bc0 (diff)
nc-info: warn distrov0.38.1
-rw-r--r--etc/nextcloudpi-config.d/nc-info.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-info.sh b/etc/nextcloudpi-config.d/nc-info.sh
index aa76e2d1..6eefb8e7 100644
--- a/etc/nextcloudpi-config.d/nc-info.sh
+++ b/etc/nextcloudpi-config.d/nc-info.sh
@@ -26,6 +26,9 @@ configure()
DNSMASQ_ON="$( grep "^ACTIVE_=" /usr/local/etc/nextcloudpi-config.d/dnsmasq.sh | cut -d'=' -f2 )"
+ grep -q "distribution|.*bian GNU/Linux 9" <<<"$OUT" || \
+ echo -e "\nYou are using an unsupported distro release. Please upgrade to latest Debian/Raspbian"
+
[[ $DNSMASQ_ON != "yes" ]] && \
grep -q "NAT loopback|no" <<<"$OUT" && \
echo -e "\nYou should enable dnsmasq to use your domain inside home"