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
commit9e40043c767d51c9d2f019f8b4c94d2f40210661 (patch)
treede14ac9375e66f6c4236bf37fc6027b8083995ea
parent2c4c6a600295afb3c54a2a5bb01bada9f4bbdbc5 (diff)
downloadupstream-9e40043c767d51c9d2f019f8b4c94d2f40210661.tar.gz
upstream-9e40043c767d51c9d2f019f8b4c94d2f40210661.tar.bz2
upstream-9e40043c767d51c9d2f019f8b4c94d2f40210661.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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7805 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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=""