summaryrefslogtreecommitdiff
path: root/packages/prism3-support/files
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-05 23:19:00 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-05 23:19:00 +0000
commit83f47bd69f7ed257be72bec3fd524cf4128ed29a (patch)
tree3dc091a60f47e8b30a382e2baa0bc9e31ff56f96 /packages/prism3-support/files
parenteb53b8c0ef1efef31d39cb1530287cb3facdaf85 (diff)
prism3-support: Only attempt prism firmware on wireless interfaces (#693). Could be improved to only try on hostap interfaces but requires sysfs magic incompatible with 2.4
Diffstat (limited to 'packages/prism3-support/files')
-rw-r--r--packages/prism3-support/files/hostap-fw-load6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/prism3-support/files/hostap-fw-load b/packages/prism3-support/files/hostap-fw-load
index 00df1ef848..707030c6a7 100644
--- a/packages/prism3-support/files/hostap-fw-load
+++ b/packages/prism3-support/files/hostap-fw-load
@@ -1,4 +1,9 @@
#!/bin/sh
+
+# dont handle non-wireless interfaces
+if [ -n `cat /proc/net/wireless|grep $IFACE` ]; then
+ exit 0
+fi
if test -e /sbin/cardctl; then
CARDCTL=/sbin/cardctl
@@ -18,3 +23,4 @@ fi
# lets hope that run-parts obeys the order :D
+exit 0 \ No newline at end of file