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-a3cf2f4a3e73master
parent
2c4c6a6002
commit
9e40043c76
|
@ -58,6 +58,7 @@ dhcp_add() {
|
||||||
start() {
|
start() {
|
||||||
include /lib/network
|
include /lib/network
|
||||||
scan_interfaces
|
scan_interfaces
|
||||||
|
config_load /var/state/network
|
||||||
config_load dhcp
|
config_load dhcp
|
||||||
|
|
||||||
args=""
|
args=""
|
||||||
|
|
Loading…
Reference in New Issue