summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostap-daemon.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-08-26 17:12:54 -0500
committerJohn Klug <john.klug@multitech.com>2016-08-26 17:12:54 -0500
commite8bb3a14ac560f5f13f9fbb87b6007e361f1b3d0 (patch)
tree758e273fc9095de2eb06499c6866a99d333be308 /recipes-connectivity/hostapd/hostap-daemon.inc
parent1188cad13b391ae9839167e39f42d5008f057b2f (diff)
downloadmeta-mlinux-e8bb3a14ac560f5f13f9fbb87b6007e361f1b3d0.tar.gz
meta-mlinux-e8bb3a14ac560f5f13f9fbb87b6007e361f1b3d0.tar.bz2
meta-mlinux-e8bb3a14ac560f5f13f9fbb87b6007e361f1b3d0.zip
Add hostap-daemon version 2.4
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
+}