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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"