diff options
author | John Crispin <john@phrozen.org> | 2019-10-30 16:57:22 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-11-12 11:52:26 +0100 |
commit | 60fb4c92b6b0d1582d31e02167b90b424185f3a2 (patch) | |
tree | f707a8fe5cc2e1abf21b51d38f9767f1b1d69996 /package/network/services/hostapd/Makefile | |
parent | 155ede4f1fdb192b11f8ae2dbffda5f7ef4903bd (diff) | |
download | upstream-60fb4c92b6b0d1582d31e02167b90b424185f3a2.tar.gz upstream-60fb4c92b6b0d1582d31e02167b90b424185f3a2.tar.bz2 upstream-60fb4c92b6b0d1582d31e02167b90b424185f3a2.zip |
hostapd: add ubus reload
Add ubus interface to hostapd and wpa_supplicant to allow dynamically
reloading wiface configuration without having to restart the hostapd
process.
As a consequence, both hostapd and wpa_supplicant are now started
persistently on boot for each wifi device in the system and then
receive ubus calls adding, modifying or removing interface
configuration.
At a later stage it would be desirable to reduce the services to one
single instance managing all radios.
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/network/services/hostapd/Makefile')
-rw-r--r-- | package/network/services/hostapd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 4f6420f503..408c15390e 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git @@ -519,8 +519,9 @@ define Install/supplicant endef define Package/hostapd-common/install - $(INSTALL_DIR) $(1)/lib/netifd $(1)/etc/rc.button + $(INSTALL_DIR) $(1)/lib/netifd $(1)/etc/rc.button $(1)/etc/hotplug.d/ieee80211 $(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/netifd/hostapd.sh + $(INSTALL_BIN) ./files/hostapd.hotplug $(1)/etc/hotplug.d/ieee80211/20-hostapd $(INSTALL_BIN) ./files/wps-hotplug.sh $(1)/etc/rc.button/wps endef |