[pkg-wpa-devel] Re: Non-roaming usage of the daemon: Radio kill switch

Kel Modderman kelrin at tpg.com.au
Sun Apr 9 09:19:41 UTC 2006


> If you think the timeout should be configurable, thats something we can
> talk about. How about introducing a new wpa-timeout command for /e/n/i?
>   

It already is:

if [ -z "$IF_WPA_ACTION_TIMEOUT" ]; then
          # default: allow one minute for action script to succeed
          IF_WPA_ACTION_TIMEOUT="60"
fi

wpa-action-timeout TIME_IN_SECONDS

If TIME_IN_SECONDS is positive, that is the timeout value.

If TIME_IN_SECONDS is negative, wpa-action is backgrounded immediately.

If TIME_IN_SECONDS = 0, we wait until success or manual cancellation.

It defaults to 60 seconds.

Thanks, Kel.



More information about the Pkg-wpa-devel mailing list