boot - don't wait for wpa_supplicant to associate
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 20 Aug 2014 17:04:09 +0000 (10:04 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 20 Aug 2014 17:04:09 +0000 (10:04 -0700)
* Do not wait for wpa_supplicant to associate as doing so will prevent
  the machine from finishing the boot sequence if there are no base stations
  in range.

  We can do this now because the new dhclient will not blow up.

etc/rc.d/wpa_supplicant

index 9c94cf4..8366249 100644 (file)
@@ -23,9 +23,10 @@ wpa_supplicant_precmd()
 start_postcmd="wpa_supplicant_postcmd"
 wpa_supplicant_postcmd()
 {
-       while ! ifconfig $ifn | grep -qw "status: associated"; do
-               sleep 1
-       done
+# don't wait for wpa_supplicant to associate
+#      while ! ifconfig $ifn | grep -qw "status: associated"; do
+#              sleep 1
+#      done
 }
 
 ifn="$2"