summaryrefslogtreecommitdiffstats
path: root/meta/packages/prism3-support/files/hostap-fw-load
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/prism3-support/files/hostap-fw-load')
-rw-r--r--meta/packages/prism3-support/files/hostap-fw-load6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/packages/prism3-support/files/hostap-fw-load b/meta/packages/prism3-support/files/hostap-fw-load
index 00df1ef848..707030c6a7 100644
--- a/meta/packages/prism3-support/files/hostap-fw-load
+++ b/meta/packages/prism3-support/files/hostap-fw-load
@@ -1,4 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2
3# dont handle non-wireless interfaces
4if [ -n `cat /proc/net/wireless|grep $IFACE` ]; then
5 exit 0
6fi
2 7
3if test -e /sbin/cardctl; then 8if test -e /sbin/cardctl; then
4 CARDCTL=/sbin/cardctl 9 CARDCTL=/sbin/cardctl
@@ -18,3 +23,4 @@ fi
18 23
19# lets hope that run-parts obeys the order :D 24# lets hope that run-parts obeys the order :D
20 25
26exit 0 \ No newline at end of file