reset CONFIG_SECTION when calling config_load
authorFelix Fietkau <nbd@openwrt.org>
Sat, 28 Oct 2006 00:40:17 +0000 (00:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 28 Oct 2006 00:40:17 +0000 (00:40 +0000)
SVN-Revision: 5318

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" ] && {