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:
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_"; }