diff options
-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) |