Wifi dialogs
This commit is contained in:
parent
33342b9789
commit
2295f21762
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue