]> git.openpandora.org Git - openembedded.git/commitdiff
prism3-support: Only attempt prism firmware on wireless interfaces (#693). Could...
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 5 Nov 2006 23:19:00 +0000 (23:19 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Sun, 5 Nov 2006 23:19:00 +0000 (23:19 +0000)
packages/prism3-support/files/hostap-fw-load
packages/prism3-support/prism3-support_1.0.0.bb

index 00df1ef8486933d97a8258f736d8cb23a9787b9b..707030c6a7d430a123f792cb913474a232c83c33 100644 (file)
@@ -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
index 830da22c2b166a439dc424de589597bb18f43fe3..b3c00e422f80f93a72331bb8b0e240503e09f3ec 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "GPL"
 DEPENDS = "prism3-firmware hostap-utils"
 RDEPENDS = "prism3-firmware hostap-utils"
 PACKAGE_ARCH = "all"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "file://hostap-fw-load"