reset CONFIG_SECTION when calling config_load
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 28 Oct 2006 00:40:17 +0000 (00:40 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 28 Oct 2006 00:40:17 +0000 (00:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/default/etc/functions.sh

index bf87548ca53c8ad83feee2edbccfd6f09ee37ca6..f7cb878bc935b7cebc807a458dd3010898bd26ad 100755 (executable)
@@ -77,6 +77,7 @@ config_clear() {
 }
 
 config_load() {
+       CONFIG_SECTION=
        local DIR="./"
        _C=0
        [ \! -e "$1" -a -e "/etc/config/$1" ] && {