summaryrefslogtreecommitdiff
path: root/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-14 17:55:32 +0000
committerChris Larson <clarson@kergoth.com>2004-11-14 17:55:32 +0000
commit329ddd37ebb2c0f508744c0bfba70e02461ab67f (patch)
tree9acc96d084aadc254440b3613391bca29e1705f8 /wlan-ng/wlan-ng-modules_0.2.1pre22.oe
parentdaf4fe097d2a69ed407d042e535dd0877adb4f86 (diff)
Merge openembedded@openembedded.bkbits.net:packages-devel
into handhelds.org:/home/kergoth/code/packages 2004/11/14 12:55:25-05:00 handhelds.org!kergoth Include scripts for wlan-ng: debian's apmd resume, debian's interfaces if-pre-up.d, debian's interfaces if-post-down.d 2004/11/14 12:54:49-05:00 handhelds.org!kergoth Add the steps necessary to bring up wireless on the SL6K to its wlan0 entry in interfaces. BKrev: 41979c14e-I76hv6xeTgd302NzWzew
Diffstat (limited to 'wlan-ng/wlan-ng-modules_0.2.1pre22.oe')
-rw-r--r--wlan-ng/wlan-ng-modules_0.2.1pre22.oe16
1 files changed, 10 insertions, 6 deletions
diff --git a/wlan-ng/wlan-ng-modules_0.2.1pre22.oe b/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
index 08cf03367b..a129434d10 100644
--- a/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
+++ b/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
@@ -4,7 +4,7 @@ DEPENDS = "virtual/kernel"
RRECOMMENDS = "wlan-ng-utils"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \
file://no-compat.patch;patch=1 \
@@ -15,8 +15,10 @@ SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz
file://wlan-ng.modutils \
file://wlan.agent \
file://config.in \
- file://sl6kwlanctl-ng \
- file://usbctl"
+ file://usbctl \
+ file://resume \
+ file://pre-up \
+ file://post-down"
S = "${WORKDIR}/linux-wlan-ng-${PV}"
inherit module
@@ -57,10 +59,12 @@ do_install() {
mkdir -p ${D}/sbin/
install -m 0644 ${WORKDIR}/wlan-ng.modutils ${D}/etc/modutils/wlan-ng.conf
install -m 0755 ${WORKDIR}/wlan.agent ${D}/etc/hotplug/wlan.agent
+ install -d ${D}/${sysconfdir}/network/if-pre-up.d
+ install -m 0755 ${WORKDIR}/pre-up ${D}/${sysconfdir}/network/if-pre-up.d/wlan-ng
+ install -m 0755 ${WORKDIR}/post-down ${D}/${sysconfdir}/network/if-post-down.d/wlan-ng
+ install -d ${D}/${sysconfdir}/apm/resume.d
+ install -m 0755 ${WORKDIR}/resume ${D}/${sysconfdir}/apm/resume.d/wlan-ng
install -m 0755 ${WORKDIR}/usbctl ${D}/sbin/usbctl
- install -m 0755 ${WORKDIR}/sl6kwlanctl-ng ${D}/sbin/sl6kwlanctl-ng
- ln -s /sbin/sl6kwlanctl-ng ${D}/sbin/wlanup
- ln -s /sbin/sl6kwlanctl-ng ${D}/sbin/wlandown
install -d ${D}/${mandir}
mv ${D}/usr/local/man/* ${D}/${mandir}
rm -r ${D}/usr/local/man