summaryrefslogtreecommitdiff
path: root/recipes-bsp/wifiup/wifiup_0.1.bb
blob: 5c6003b2153c2ed144c0585d876e24c0ed6c24d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Provides the Wifi init scripts"
SECTION = "init scripts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
# Was dependent on api
RDEPENDS_${PN} = "curl jsparser"
PR = "r4"

inherit update-rc.d

INITSCRIPT_NAME = "wifi"
INITSCRIPT_PARAMS = "defaults 73 27"

SRC_URI += "file://wifi.init \
            file://wifi.modprobe "

do_install_append() {
	install -d ${D}/etc/init.d
	install -m 0755 ${WORKDIR}/wifi.init ${D}/etc/init.d/wifi

	install -d ${D}/etc/modprobe.d
	install -m 0644 ${WORKDIR}/wifi.modprobe ${D}/etc/modprobe.d/wifi.conf
}