From 2295f21762cdb078e0623448c56babc7c4470524 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 Apr 2016 15:20:17 +0100 Subject: [PATCH] Wifi dialogs --- src/freedombone-config | 10 +++++----- src/freedombone-controlpanel | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/freedombone-config b/src/freedombone-config index 6affbda6..be977f31 100755 --- a/src/freedombone-config +++ b/src/freedombone-config @@ -1329,13 +1329,13 @@ function interactive_configuration { data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --backtitle $"Freedombone Configuration" \ - --title $"Wifi setup" \ - --form $"\nIf you wish to use wifi rather than wired ethernet then enter the details below, otherwise just select Ok:" 16 55 6 \ - $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 16 15 \ + --title $"Wifi Settings" \ + --form $"\nIf you wish to use wifi and have a Free Software compatible adapter (eg. Atheros) rather than wired ethernet then enter the details below, otherwise just select Ok:" 17 55 6 \ + $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 6 6 \ $"SSID:" 2 1 "$WIFI_SSID" 2 16 30 30 \ - $"Type:" 3 1 "$WIFI_TYPE" 3 16 16 15 \ + $"Type:" 3 1 "$WIFI_TYPE" 3 16 10 10 \ $"Passphrase:" 4 1 "$WIFI_PASSPHRASE" 4 16 30 30 \ - $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 16 15 \ + $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 6 6 \ 2> $data sel=$? case $sel in diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index f77f9cc5..9a86c73a 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -1686,12 +1686,12 @@ function wifi_settings { trap "rm -f $data" 0 1 2 5 15 dialog --backtitle $"Freedombone Control Panel" \ --title $"Wifi Settings" \ - --form $"\nIf you wish to use wifi rather than wired ethernet then enter the details below, otherwise just select Ok:" 16 55 6 \ - $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 16 15 \ + --form $"\nIf you wish to use wifi and have a Free Software compatible adapter (eg. Atheros) rather than wired ethernet then enter the details below, otherwise just select Ok:" 17 55 6 \ + $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 6 6 \ $"SSID:" 2 1 "$WIFI_SSID" 2 16 30 30 \ - $"Type:" 3 1 "$WIFI_TYPE" 3 16 16 15 \ + $"Type:" 3 1 "$WIFI_TYPE" 3 16 10 10 \ $"Passphrase:" 4 1 "$WIFI_PASSPHRASE" 4 16 30 30 \ - $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 16 15 \ + $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 6 6 \ 2> $data sel=$? case $sel in