summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostap-daemon.inc
blob: bee65fbecf9eda5b20817f381eb06379c45d1194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SRC_URI += " file://cfg80211.conf"

do_install() {
    install -d ${D}${sbindir} ${D}${sysconfdir}/init.d
    install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir}
    install -m 0755 ${S}/hostapd ${D}${sbindir}
    install -m 0755 ${S}/hostapd_cli ${D}${sbindir}
    install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
    echo "WORKDIR is ${WORKDIR}, S is ${S}" >/tmp/jak.txt
    
    install -m 644 -D ${WORKDIR}/cfg80211.conf ${D}${sysconfdir}/modprobe.d/cfg80211.conf
}