Date: Thu, 25 Jun 2009 21:52:30 -0700 From: Sam Leffler <sam@freebsd.org> To: Doug Barton <dougb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r195029 - head/etc Message-ID: <4A44540E.7080503@freebsd.org> In-Reply-To: <4A443A34.8030805@FreeBSD.org> References: <200906260127.n5Q1RG7N070584@svn.freebsd.org> <4A4429EC.6050202@freebsd.org> <4A443A34.8030805@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A44540E.7080503>
