aboutsummaryrefslogtreecommitdiffstats
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
parent379b5e9cbaabe9183958576bd36a4c266730c4ff (diff)
downloadupstream-687b83af008247dff72045e3d46b65f176013c29.tar.gz
upstream-687b83af008247dff72045e3d46b65f176013c29.tar.bz2
upstream-687b83af008247dff72045e3d46b65f176013c29.zip
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
-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=""