On Tue, May 15, 2007 at 05:46:13PM +1200, Andrew McMillan wrote: :)On Mon, 2007-05-07 at 16:11 +0200, Bart Dopheide wrote: :)> Package: whereami :)> Version: 0.3.32 :)> Severity: normal :)> Tags: patch :)> :)> I found out that when wpa_supplicant was already running, that :)> testsupplicant failed to bring up wpa_supplicant somehow (at least on :)> my machine). :)> :)> The supplied patch (inserted a second of sleeping after killing :)> wpa_supplicant) did the trick for me. :) :)Hi, :) :)I wonder if that could be done as: :) :) pkill wpa_supplicant && sleep 1 :) :)instead. :) :)This would have the virtue of only adding the 'sleep 1' in the case that :)wpa_supplicant was actually already running, rather than always adding :)the delay. :) :)If that variation still works for you I will apply it instead.
Your variation works and is more elegant. Kind regards, Bart Dopheide
pgpopvXIgsSMI.pgp
Description: PGP signature