use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jul 2007 00:44:41 +0000 (00:44 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jul 2007 00:44:41 +0000 (00:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/miniupnpd/files/miniupnpd.init

index 22a71ad..33f6b5b 100644 (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