diff --git a/src/freedombone-utils-wifi b/src/freedombone-utils-wifi index 44973925..f94b3a52 100755 --- a/src/freedombone-utils-wifi +++ b/src/freedombone-utils-wifi @@ -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 \