Getting wpa_action to run dhclient after wpa_supplicant connects

Kalle Valo kvalo
Wed Apr 13 02:39:30 PDT 2011


Curtis Larsen <curtlarsen at gmail.com> writes:

> On Tue, Apr 12, 2011 at 9:27 AM, Jouni Malinen <j at w1.fi> wrote:
>
>> Is your /bin/sh dash? If so, that "==" operator should have been "="
>> (bash supports ==, but dash does not).
>
> No.  I am using bash.  Any other ideas?

Please double check because I'm getting exactly the same error with
dash but not with bash. What does 'ls -l /bin/sh' show? Or if you
change the first line in the script to use /bin/bash?

-- 
Kalle Valo



More information about the Hostap mailing list