From efce764f0e60fa9602ac12039371cdad7e3e7237 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 21 Dec 2013 13:31:28 +0000 Subject: dnsmasq: rework init procedure - cache udhcp check results to speed up subsequent reloads - enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed - implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed - launch dnsmasq from interface hotplug to avoid race conditions with network bringup Signed-off-by: Jo-Philipp Wich SVN-Revision: 39152 --- package/network/services/dnsmasq/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/network/services/dnsmasq/Makefile') diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index 02712bdc7d..06734651e2 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -83,6 +83,8 @@ define Package/dnsmasq/install $(INSTALL_DATA) ./files/dnsmasq.conf $(1)/etc/dnsmasq.conf $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/dnsmasq.init $(1)/etc/init.d/dnsmasq + $(INSTALL_DIR) $(1)/etc/hotplug.d/iface + $(INSTALL_DATA) ./files/dnsmasq.hotplug $(1)/etc/hotplug.d/iface/25-dnsmasq endef Package/dnsmasq-dhcpv6/install = $(Package/dnsmasq/install) -- cgit v1.2.3