mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -58,6 +58,7 @@ dhcp_add() {
|
||||
start() {
|
||||
include /lib/network
|
||||
scan_interfaces
|
||||
config_load /var/state/network
|
||||
config_load dhcp
|
||||
|
||||
args=""
|
||||
|
||||
Reference in New Issue
Block a user