dnsmasq: rework init procedure
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 21 Dec 2013 13:31:28 +0000 (13:31 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 21 Dec 2013 13:31:28 +0000 (13:31 +0000)
commitefce764f0e60fa9602ac12039371cdad7e3e7237
tree1055c709abeeab8b3543b66b6f764a71b1b61bb5
parent72f00c8de440ac3bf3c373c107e7555182f9fafb
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 <jow@openwrt.org>
SVN-Revision: 39152
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.hotplug [new file with mode: 0644]
package/network/services/dnsmasq/files/dnsmasq.init