diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 19:28:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 19:28:46 +0000 |
commit | 687b83af008247dff72045e3d46b65f176013c29 (patch) | |
tree | 136333177ce9121b58dde233c22a8e3b66599e2f /package/dnsmasq | |
parent | 379b5e9cbaabe9183958576bd36a4c266730c4ff (diff) | |
download | mtk-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.init | 1 |
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="" |