On Monday, February 27, 2012 01:49:44 Filippo Sallemi wrote:
Ok in this email my proposal patch. I've to sleep 4s if you have an ap + adhoc vifs.
[ "$(echo $interface | awk '$0 ~ /^wlan[0-9]*/')" ] && sleep 4s
For convenience I sleep only if an wlan was triggered. If you have only one interface in adhoc mode per radio 3 seconds are enought.
What if somebody calls his interfaces in a different way ? As you know the name can freely be chosen.
Regards, Marek