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-wifi.sh')
-rw-r--r--etc/nextcloudpi-config.d/nc-wifi.sh22
1 files changed, 8 insertions, 14 deletions
diff --git a/etc/nextcloudpi-config.d/nc-wifi.sh b/etc/nextcloudpi-config.d/nc-wifi.sh
index ae99a6c3..cd6e0380 100644
--- a/etc/nextcloudpi-config.d/nc-wifi.sh
+++ b/etc/nextcloudpi-config.d/nc-wifi.sh
@@ -17,6 +17,14 @@
ACTIVE_=no
DESCRIPTION="Configure your Wi-Fi connection"
+INFOTITLE="Instructions to configure Wi-Fi"
+INFO="1) Select a Wi-Fi network
+2) Press right arrow ->
+3) Enter the passphrase for your Wi-Fi
+4) Make sure to select 'connect automatically'
+5) F10 to save
+6) C to connect"
+
install()
{
apt-get update
@@ -24,20 +32,6 @@ install()
systemctl disable wicd
}
-show_info()
-{
- whiptail --yesno \
- --backtitle "NextCloudPi configuration" \
- --title "Instructions to configure Wi-Fi" \
-"1) Select a Wi-Fi network
-2) Press right arrow ->
-3) Enter the passphrase for your Wi-Fi
-4) Make sure to select 'connect automatically'
-5) F10 to save
-6) C to connect" \
- 20 90
-}
-
configure()
{
[[ $ACTIVE_ != "yes" ]] && {