diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/prism3-support | |
download | openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.bz2 openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.xz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.zip |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/prism3-support')
-rw-r--r-- | openembedded/packages/prism3-support/files/hostap-fw-load | 12 | ||||
-rw-r--r-- | openembedded/packages/prism3-support/prism3-support_1.0.0.bb | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/openembedded/packages/prism3-support/files/hostap-fw-load b/openembedded/packages/prism3-support/files/hostap-fw-load new file mode 100644 index 000000000..538a4a783 --- /dev/null +++ b/openembedded/packages/prism3-support/files/hostap-fw-load @@ -0,0 +1,12 @@ +#!/bin/sh + +# Special case for prism3 cards needing firmware upload +# Add more known manfids, if necessary + +if [ `cardctl info|grep "d601,0010\|d601,0101"` ]; then + iwpriv "$IFACE" reset 1 + hostap_fw_load "$IFACE" +fi + +# lets hope that run-parts obeys the order :D + diff --git a/openembedded/packages/prism3-support/prism3-support_1.0.0.bb b/openembedded/packages/prism3-support/prism3-support_1.0.0.bb new file mode 100644 index 000000000..762bd01e6 --- /dev/null +++ b/openembedded/packages/prism3-support/prism3-support_1.0.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "meta-package for prism3 support through ifupdown and hostap_fw_load" +SECTION = "base" +LICENSE = "GPL" +DEPENDS = "prism3-firmware hostap-utils" +RDEPENDS = "prism3-firmware hostap-utils" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +PR = "r0" + +SRC_URI = "file://hostap-fw-load" + +do_install() { + install -d ${D}${sysconfdir}/network/if-pre-up.d/ + install -m 0755 ${WORKDIR}/hostap-fw-load ${D}${sysconfdir}/network/if-pre-up.d/ +} + |