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/nc-format-USB.sh')
-rw-r--r--etc/nextcloudpi-config.d/nc-format-USB.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/etc/nextcloudpi-config.d/nc-format-USB.sh b/etc/nextcloudpi-config.d/nc-format-USB.sh
index 8b952d69..7643a6b2 100644
--- a/etc/nextcloudpi-config.d/nc-format-USB.sh
+++ b/etc/nextcloudpi-config.d/nc-format-USB.sh
@@ -16,18 +16,11 @@
LABEL_=myCloudDrive
DESCRIPTION="Format an external USB drive as a ext4 partition (dangerous)"
-show_info()
-{
- whiptail --yesno \
- --backtitle "NextCloudPi configuration" \
- --title "Instructions for USB drive formatting" \
-"Make sure that ONLY the USB drive that you want to format is plugged in.
-
-Be careful, this will destroy any data in the USB drive
+INFOTITLE="Instructions for USB drive formatting"
+INFO="Make sure that ONLY the USB drive that you want to format is plugged in.
+careful, this will destroy any data in the USB drive
-** YOU WILL LOSE ALL YOUR USB DATA ** " \
- 20 90
-}
+** YOU WILL LOSE ALL YOUR USB DATA **"
configure()
{