From 2321588fb21d52d0356f33883c6cfeef30201ad7 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sat, 29 Oct 2016 19:35:00 +0100
Subject: [PATCH] No wifi by default

---
 src/freedombone-utils-wifi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/freedombone-utils-wifi b/src/freedombone-utils-wifi
index 65e34ad2c..5444afa60 100755
--- a/src/freedombone-utils-wifi
+++ b/src/freedombone-utils-wifi
@@ -475,7 +475,7 @@ function create_networks_interactive {
     echo '#' >> $WIFI_NETWORKS_FILE
 
     # By default connect to any open wifi
-    WIFI_SSID=$'any'
+    WIFI_SSID=''
     WIFI_TYPE=$'open'
 
     wifi_ctr=0
@@ -487,7 +487,7 @@ function create_networks_interactive {
         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 \
-               $"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 \
                $"Passphrase:" 3 1 "$WIFI_PASSPHRASE" 3 24 50 50 \
                2> $data
-- 
GitLab