summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostap-daemon.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/hostapd/hostap-daemon.inc')
-rw-r--r--recipes-connectivity/hostapd/hostap-daemon.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd/hostap-daemon.inc b/recipes-connectivity/hostapd/hostap-daemon.inc
new file mode 100644
index 0000000..bee65fb
--- /dev/null
+++ b/recipes-connectivity/hostapd/hostap-daemon.inc
@@ -0,0 +1,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
+}