summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-30 19:28:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-30 19:28:46 +0000
commit687b83af008247dff72045e3d46b65f176013c29 (patch)
tree136333177ce9121b58dde233c22a8e3b66599e2f /package/dnsmasq
parent379b5e9cbaabe9183958576bd36a4c266730c4ff (diff)
downloadmtk-20170518-687b83af008247dff72045e3d46b65f176013c29.zip
mtk-20170518-687b83af008247dff72045e3d46b65f176013c29.tar.gz
mtk-20170518-687b83af008247dff72045e3d46b65f176013c29.tar.bz2
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
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 1d4cc5a..14c77fb 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=""