From ed144d4252c752e0ef64a42acacc2d07b3bbcc76 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 11 Jan 2008 17:35:39 +0000 Subject: [PATCH] NetBSD-4 doesn't support scanning via ifconfig, so mark it FreeBSD only for now. --- net.BSD/ifconfig.sh | 2 +- net.FreeBSD/Makefile | 5 +++++ {net.BSD => net.FreeBSD}/iwconfig.sh | 0 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 net.FreeBSD/Makefile rename {net.BSD => net.FreeBSD}/iwconfig.sh (100%) diff --git a/net.BSD/ifconfig.sh b/net.BSD/ifconfig.sh index 8b73973f..d56ba259 100644 --- a/net.BSD/ifconfig.sh +++ b/net.BSD/ifconfig.sh @@ -87,7 +87,7 @@ _ifconfig_ent() _is_wireless() { case "$(_ifconfig_ent "media:")" in - "IEEE 802.11 Wireless"*) return 0;; + IEEE802.11*|"IEEE 802.11 Wireless"*) return 0;; *) return 1;; esac } diff --git a/net.FreeBSD/Makefile b/net.FreeBSD/Makefile new file mode 100644 index 00000000..b2becc4e --- /dev/null +++ b/net.FreeBSD/Makefile @@ -0,0 +1,5 @@ +DIR = ${RC_LIB}/net +INC = ${CONTENTS} + +MK= ../mk +include ${MK}/scripts.mk diff --git a/net.BSD/iwconfig.sh b/net.FreeBSD/iwconfig.sh similarity index 100% rename from net.BSD/iwconfig.sh rename to net.FreeBSD/iwconfig.sh