svn commit: r195029 - head/etc

Sam Leffler sam at freebsd.org
Fri Jun 26 04:52:32 UTC 2009


Doug Barton wrote:
> Sam Leffler wrote:
>   
>> Using device names is a bad idea.  Take a look at wpa_supplicant (for
>> example) for how to check the media status to determine whether a device
>> is wireless.
>>     
>
> I agree that it's not optimal, and I would prefer a dynamic solution
> as opposed to a static one. What mechanism would you suggest that
> would be available to a shell script relatively early in the boot process?
>   

As I said, use the technique /etc/rc.d/wpa_supplicant uses to check the 
media status.  I've sent you working code privately.

    Sam



More information about the svn-src-all mailing list