No wifi by default

This commit is contained in:
Bob Mottram 2016-10-29 19:35:00 +01:00
parent 8b47da2be5
commit 2321588fb2
1 changed files with 2 additions and 2 deletions

View File

@ -475,7 +475,7 @@ function create_networks_interactive {
echo '#' >> $WIFI_NETWORKS_FILE echo '#' >> $WIFI_NETWORKS_FILE
# By default connect to any open wifi # By default connect to any open wifi
WIFI_SSID=$'any' WIFI_SSID=''
WIFI_TYPE=$'open' WIFI_TYPE=$'open'
wifi_ctr=0 wifi_ctr=0
@ -487,7 +487,7 @@ function create_networks_interactive {
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 $"\nTo use this system via wifi (eg. USB dongle) enter the details below, otherwise just select Ok:" 13 65 4 \
$"SSID:" 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 \
2> $data 2> $data