Hi James, On Thu, Oct 06, 2005 at 07:47:35PM +1000, James Rayner wrote: > And just quickly asking whether my patch will be merged? > > http://iphitus.loudas.com/arch/network/network-improved.patch
Sorry, I must have missed this one. I've already implemented a change similar to the first part of your patch. If -c is passed to netcfg (which rc.d/network does), it will not bring up an interface if it is already up. This is handy for roamers who want a crude sort of profile auto-detection. One could put multiple profiles in NETWORK_PROFILES, all for the same interface. Then when the laptop starts the network, it will try each profile in order until one is successful. I think this is the same thing you had in mind when adding this check: + if [[ `ifconfig $INTERFACE|grep -c 'inet addr'` -ne 0 ]]; then + return + fi I will add the WIFI_WAIT parameter as well. Thanks for your patch. - J _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
