summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 19:28:46 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 19:28:46 +0000
commit08ec77b1157e6a28e6a88b457077a505046f1502 (patch)
treede14ac9375e66f6c4236bf37fc6027b8083995ea /package/dnsmasq
parent003debbee6f6c436c7bb0e1d41e89e9429355f7a (diff)
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7805 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/files/dnsmasq.init1
1 files changed, 1 insertions, 0 deletions
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=""