aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 17:35:39 +0000
committerRoy Marples <roy@marples.name>2008-01-11 17:35:39 +0000
commited144d4252c752e0ef64a42acacc2d07b3bbcc76 (patch)
treed9343ca1c08ee2c89092bbe45a1afca7fce92b31
parentcd685410bd7d8f1893a9f585c784e43878e13913 (diff)
NetBSD-4 doesn't support scanning via ifconfig, so mark it FreeBSD only for now.
-rw-r--r--net.BSD/ifconfig.sh2
-rw-r--r--net.FreeBSD/Makefile5
-rw-r--r--net.FreeBSD/iwconfig.sh (renamed from net.BSD/iwconfig.sh)0
3 files changed, 6 insertions, 1 deletions
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
index 3a276cda..3a276cda 100644
--- a/net.BSD/iwconfig.sh
+++ b/net.FreeBSD/iwconfig.sh