From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 30 Jun 2007 19:28:46 +0000 (+0000)
Subject: include the network state in the dnsmasq init script. this makes it possible to run... 
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=687b83af008247dff72045e3d46b65f176013c29;p=openwrt%2Fstaging%2Fsvanheule.git

include the network state in the dnsmasq init script. this makes it possible to run a dhcp server on dynamically assigned interfaces without hardcoding interface names

SVN-Revision: 7805
---

diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 1d4cc5a995..14c77fb013 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -58,6 +58,7 @@ dhcp_add() {
 start() {
 	include /lib/network
 	scan_interfaces
+	config_load /var/state/network
 	config_load dhcp
 
 	args=""