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:
nbd 2007-07-13 00:44:41 +00:00
parent 81bc388fb4
commit 453d325a54

View File

@ -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