diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2018-10-05 13:01:22 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-10 16:49:52 +0200 |
commit | 3768138f7ccf616e9bd285e4fd8b170583bcb8e2 (patch) | |
tree | 7c87b0a108637360d259522a9c5e2ce15cc46a05 /rules/hostapd.make | |
parent | fdc7516a5a9c551971bb7bcc571879ab0bc74d9c (diff) | |
download | ptxdist-3768138f7ccf616e9bd285e4fd8b170583bcb8e2.tar.gz ptxdist-3768138f7ccf616e9bd285e4fd8b170583bcb8e2.tar.xz |
hostapd: provide a default run-time configuration
The default config file is the one from the source package.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/hostapd.make')
-rw-r--r-- | rules/hostapd.make | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/hostapd.make b/rules/hostapd.make index dfb6f90ee..340b764c2 100644 --- a/rules/hostapd.make +++ b/rules/hostapd.make @@ -50,6 +50,17 @@ $(STATEDIR)/hostapd.prepare: @$(call touch) # ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/hostapd.install: + @$(call targetinfo) + @$(call world/install, HOSTAPD) + @install -v -m644 -D $(HOSTAPD_DIR)/hostapd/hostapd.conf \ + $(HOSTAPD_PKGDIR)/etc/hostapd/hostapd.conf + @$(call touch) + +# ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- @@ -63,6 +74,7 @@ $(STATEDIR)/hostapd.targetinstall: @$(call install_fixup, hostapd,DESCRIPTION,missing) @$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd) + @$(call install_alternative, hostapd, 0, 0, 0644, /etc/hostapd/hostapd.conf) @$(call install_finish, hostapd) |