blob: 3532dc0c6806d5189979ca038742da77479cf9e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
DESCRIPTION = "Scripts to enable and calibrate the wifi chip on the OCG"
HOMEPAGE = "http://www.multitech.net/"
LICENSE = "GPL"
PR = "r7"
inherit update-rc.d
SRC_URI = "file://wl12xx-scripts-1.0/calibrate-wifi.sh \
file://wl12xx-scripts-1.0/wifi \
file://wl12xx-scripts-1.0/enable-wifi.sh"
CONFFILES_${PN} += "${sysconfdir}/default/wifi"
INITSCRIPT_NAME = "enable-wifi.sh"
INITSCRIPT_PARAMS = "start 40 S ."
S = ${WORKDIR}/wl12xx-scripts-1.0/
do_install() {
install -d ${D}${sbindir}
install -m 755 ${WORKDIR}/wl12xx-scripts-1.0/calibrate-wifi.sh ${D}${sbindir}
install -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/wl12xx-scripts-1.0/enable-wifi.sh ${D}${sysconfdir}/init.d
install -d ${D}${sysconfdir}/default
install -m 644 ${WORKDIR}/wl12xx-scripts-1.0/wifi ${D}${sysconfdir}/default/
}
|