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-04-27 09:12:51 +0300
committernachoparker <nacho@ownyourbits.com>2017-04-27 19:49:22 +0300
commit64bf42f2f3dd18f294d8626aaf412c90760277f0 (patch)
tree4b431bc211c34d75e5bec7ec7abee2c2b0e5c5d5 /etc/nextcloudpi-config.d/NFS.sh
parentfb994adc457588d0361797dfe3a5f0e5a09be230 (diff)
added show_info() to nextcloudpi-configv0.8.1
Diffstat (limited to 'etc/nextcloudpi-config.d/NFS.sh')
-rwxr-xr-xetc/nextcloudpi-config.d/NFS.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/nextcloudpi-config.d/NFS.sh b/etc/nextcloudpi-config.d/NFS.sh
index fb55554f..2e64f407 100755
--- a/etc/nextcloudpi-config.d/NFS.sh
+++ b/etc/nextcloudpi-config.d/NFS.sh
@@ -27,11 +27,9 @@ install()
systemctl disable nfs-kernel-server
}
-configure()
+show_info()
{
- # INFO
- ################################
- whiptail --msgbox \
+ whiptail --yesno \
--backtitle "NextCloudPi configuration" \
--title "Instructions for external synchronization" \
"If we intend to modify the data folder through NFS,
@@ -39,7 +37,10 @@ then we have to synchronize NextCloud to make it aware of the changes. \n
This can be done manually or automatically using 'nc-scan' and 'nc-scan-auto'
from 'nextcloudpi-config'" \
20 90
+}
+configure()
+{
# CHECKS
################################
[ -d "$DIR_" ] || { echo -e "INFO: directory $DIR_ does not exist. Creating"; mkdir -p "$DIR_"; }