summaryrefslogtreecommitdiff
path: root/packages/wlan-ng
diff options
context:
space:
mode:
Diffstat (limited to 'packages/wlan-ng')
-rw-r--r--packages/wlan-ng/wlan-ng-modules_0.2.1pre23.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/wlan-ng/wlan-ng-modules_0.2.1pre23.bb b/packages/wlan-ng/wlan-ng-modules_0.2.1pre23.bb
index 3a9195f412..3ec6ff2d0d 100644
--- a/packages/wlan-ng/wlan-ng-modules_0.2.1pre23.bb
+++ b/packages/wlan-ng/wlan-ng-modules_0.2.1pre23.bb
@@ -55,22 +55,22 @@ do_compile() {
do_install() {
oe_runmake install DESTDIR=${D} TARGET_MODDIR=
- mkdir -p ${D}/etc/modutils/
- mkdir -p ${D}/etc/hotplug/
- 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
+ mkdir -p ${D}/${sysconfdir}/modutils/
+ mkdir -p ${D}/${sysconfdir}/hotplug/
+ mkdir -p ${D}/${base_sbindir}/
+ install -m 0644 ${WORKDIR}/wlan-ng.modutils ${D}/${sysconfdir}/modutils/wlan-ng.conf
+ install -m 0755 ${WORKDIR}/wlan.agent ${D}/${sysconfdir}/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 -d ${D}/${sysconfdir}/network/if-post-down.d
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}/usbctl ${D}/${base_sbindir}/usbctl
install -d ${D}/${mandir}
mv ${D}/usr/local/man/* ${D}/${mandir}
rm -r ${D}/usr/local/man
- rm -rf ${D}/etc/init.d
+ rm -rf ${D}/${sysconfdir}/init.d
}
PACKAGES_prepend = "wlan-ng-utils "