summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-07-07 09:12:26 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-07 11:48:51 +0200
commit13f364daaf8bf34bd6ecebf5f5f3fa237818ff35 (patch)
treea7f8f91cc8f8df5bdcab840fda7a4f23fa481f2c
parente7a82e9653c79dfe202881ec0304016e7582a6bf (diff)
downloadbuildroot-13f364daaf8bf34bd6ecebf5f5f3fa237818ff35.tar.gz
buildroot-13f364daaf8bf34bd6ecebf5f5f3fa237818ff35.zip
hostapd: Install default hostapd.conf on target
For convenience it's nice to have default hostapd.conf installed on target automatically as a good starting point. Otherwise user has to create it manually from scratch. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>i Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/hostapd/hostapd.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index dca07c1bc5..5aa2b9a9e8 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -86,6 +86,8 @@ define HOSTAPD_INSTALL_TARGET_CMDS
$(TARGET_DIR)/usr/sbin/hostapd
$(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \
$(TARGET_DIR)/usr/bin/hostapd_cli
+ $(INSTALL) -m 0644 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd.conf \
+ $(TARGET_DIR)/etc/hostapd.conf
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud