From b4fc4ea874c7195a2f1c62417cf462fd5bf501dd Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 20 Aug 2014 10:04:09 -0700 Subject: [PATCH] boot - don't wait for wpa_supplicant to associate * 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/rc.d/wpa_supplicant b/etc/rc.d/wpa_supplicant index 9c94cf4b5d..8366249aa7 100644 --- a/etc/rc.d/wpa_supplicant +++ b/etc/rc.d/wpa_supplicant @@ -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" -- 2.41.0