summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostapd_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/hostapd/hostapd_%.bbappend')
-rw-r--r--recipes-connectivity/hostapd/hostapd_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd/hostapd_%.bbappend b/recipes-connectivity/hostapd/hostapd_%.bbappend
new file mode 100644
index 0000000..d94e2ad
--- /dev/null
+++ b/recipes-connectivity/hostapd/hostapd_%.bbappend
@@ -0,0 +1,6 @@
+SRC_URI += "file://cfg80211.conf"
+
+do_install_append() {
+ install -d ${D}{sysconfdir}/modprobe.d
+ install -m 644 -D ${WORKDIR}/cfg80211.conf ${D}${sysconfdir}/modprobe.d/cfg80211.conf
+}