NetBSD-4 doesn't support scanning via ifconfig, so mark it FreeBSD only for now.

This commit is contained in:
Roy Marples 2008-01-11 17:35:39 +00:00
parent cd685410bd
commit ed144d4252
3 changed files with 6 additions and 1 deletions

View File

@ -87,7 +87,7 @@ _ifconfig_ent()
_is_wireless() _is_wireless()
{ {
case "$(_ifconfig_ent "media:")" in case "$(_ifconfig_ent "media:")" in
"IEEE 802.11 Wireless"*) return 0;; IEEE802.11*|"IEEE 802.11 Wireless"*) return 0;;
*) return 1;; *) return 1;;
esac esac
} }

5
net.FreeBSD/Makefile Normal file
View File

@ -0,0 +1,5 @@
DIR = ${RC_LIB}/net
INC = ${CONTENTS}
MK= ../mk
include ${MK}/scripts.mk