use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
81bc388fb4
commit
453d325a54
@ -4,7 +4,7 @@ start() {
|
||||
config_load "upnpd"
|
||||
include /lib/network
|
||||
scan_interfaces
|
||||
config_load /var/state/network
|
||||
. /var/state/network
|
||||
config_get ifname wan ifname
|
||||
config_get ipaddr lan ipaddr
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user