Wifi settings description

This commit is contained in:
Bob Mottram 2017-01-05 15:07:46 +00:00
parent d8d8ba5b0f
commit 01936b3311
1 changed files with 5 additions and 1 deletions

View File

@ -487,9 +487,13 @@ function create_networks_interactive {
do
data=$(tempfile 2>/dev/null)
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" \
--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 \
$"Type (open/wpa2-psk):" 2 1 "$WIFI_TYPE" 2 24 10 10 \
$"Passphrase:" 3 1 "$WIFI_PASSPHRASE" 3 24 50 50 \