Skip to contentSkip to conversation

hostapd: Install default hostapd.conf on target

PATCH New Alexey Brodkin 2 participants 2 messages Jul 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Thomas Petazzoni <[email protected]>i
Cc Peter Korsgaard <[email protected]>
Cc Gustavo Zacarias <[email protected]>
---
 package/hostapd/hostapd.mk | 2 ++
 1 file changed, 2 insertions(+)
package/hostapd/hostapd.mk +2 -0
index dca07c1..5aa2b9a 100644
@@ -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))
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 hostapd: Install default hostapd.conf on target

Hello,

Quoted 5 lines · Alexey Brodkin

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.

Quoted 7 lines
Cc Thomas Petazzoni <[email protected]>i
Cc Peter Korsgaard <[email protected]>
Cc Gustavo Zacarias <[email protected]>
---
 package/hostapd/hostapd.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com