DESCRIPTION = "Scripts to enable and calibrate the wifi chip on the OCG" HOMEPAGE = "http://www.multitech.net/" LICENSE = "GPL" PR = "r8" 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/ }