SirLagz wrote:I'm not sure how you would integrate it into ifup or ifdown...I don't really see a reason why you would want to either.
Simply because I dislike having to constantly poll to see whether an action needs to be performed. 99% of the time there's nothing to be done (the wifi is connected), and on the occasions where it is needed, it would have been useful to have it done *sooner* (eg. with cron, the finest resolution is a minute, so, on average, you're going to have 30 seconds before the access point is brought up). Tying it into the existing networking scripts means that the work will be done as soon as it's needed, and there are no unnecessary tests.
I didn't get around to resolving this last night, but I did find enough about wpa_supplicant to find out that I need to find out more. Hi-ho! It's off to read the internet I go!