diff options
-rw-r--r-- | meta/packages/prism3-support/files/hostap-fw-load | 26 | ||||
-rw-r--r-- | meta/packages/prism3-support/prism3-support_1.0.0.bb | 15 |
2 files changed, 0 insertions, 41 deletions
diff --git a/meta/packages/prism3-support/files/hostap-fw-load b/meta/packages/prism3-support/files/hostap-fw-load deleted file mode 100644 index 707030c6a7..0000000000 --- a/meta/packages/prism3-support/files/hostap-fw-load +++ /dev/null @@ -1,26 +0,0 @@ -#!/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 -elif test -e /sbin/pccardctl; then - CARDCTL=/sbin/pccardctl -else - exit 0 -fi - -# 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 - -exit 0
\ No newline at end of file diff --git a/meta/packages/prism3-support/prism3-support_1.0.0.bb b/meta/packages/prism3-support/prism3-support_1.0.0.bb deleted file mode 100644 index b3c00e422f..0000000000 --- a/meta/packages/prism3-support/prism3-support_1.0.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -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" -PACKAGE_ARCH = "all" -PR = "r3" - -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/ -} - |