mirror of https://github.com/hak5/openwrt.git
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: 7805lede-17.01
parent
379b5e9cba
commit
687b83af00
|
@ -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