Remove unnecessary wpa_supplicant option
[hvlinux.git] / stage2 / bootscripts / ifup
index 6af859a..6c39a7a 100755 (executable)
@@ -115,6 +115,11 @@ proto_wireless()
         exit ${EXIT_CODE_WARNING}
     fi
 
+    # Warning: there is no guarantee that wpa_supplicant will try that network,
+    # if two or more networks are listed in wpa_supplicant.conf and are
+    # all simultaneously reachable (if they appear in iwlist).
+    echo "Trying to connect to wifi network \"${ESSID}\""
+
     if [ -f /var/run/wpa_supplicant/${DEVICE} ]; then
         echo "Stopping previous wpa_supplicant"
         killall wpa_supplicant