Wifi settings description
This commit is contained in:
parent
d8d8ba5b0f
commit
01936b3311
|
@ -487,9 +487,13 @@ function create_networks_interactive {
|
||||||
do
|
do
|
||||||
data=$(tempfile 2>/dev/null)
|
data=$(tempfile 2>/dev/null)
|
||||||
trap "rm -f $data" 0 1 2 5 15
|
trap "rm -f $data" 0 1 2 5 15
|
||||||
|
wifistr=$"\nTo use this system via wifi (eg. USB dongle) enter the details below, otherwise just select Ok:"
|
||||||
|
if [ -f /root/.wifi-only ]; then
|
||||||
|
wifistr=$"\nEnter your wifi login details below."
|
||||||
|
fi
|
||||||
dialog --backtitle $"Freedombone Configuration" \
|
dialog --backtitle $"Freedombone Configuration" \
|
||||||
--title $"Wifi Settings ${wifi_ctr}" \
|
--title $"Wifi Settings ${wifi_ctr}" \
|
||||||
--form $"\nTo use this system via wifi (eg. USB dongle) enter the details below, otherwise just select Ok:" 13 65 4 \
|
--form "$wifistr" 13 65 4 \
|
||||||
$"SSID (can be 'any'):" 1 1 "$WIFI_SSID" 1 24 30 30 \
|
$"SSID (can be 'any'):" 1 1 "$WIFI_SSID" 1 24 30 30 \
|
||||||
$"Type (open/wpa2-psk):" 2 1 "$WIFI_TYPE" 2 24 10 10 \
|
$"Type (open/wpa2-psk):" 2 1 "$WIFI_TYPE" 2 24 10 10 \
|
||||||
$"Passphrase:" 3 1 "$WIFI_PASSPHRASE" 3 24 50 50 \
|
$"Passphrase:" 3 1 "$WIFI_PASSPHRASE" 3 24 50 50 \
|
||||||
|
|
Loading…
Reference in New Issue