aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-28 00:40:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-28 00:40:17 +0000
commit12ccb1ed734641f5a31c992a4cded3c7016f96fd (patch)
treea6e7e14c4d12bb5df6feed162c1de6b6ad1183d2
parent8a7cf55e06f8dd3c0eac0271112c01f165605abe (diff)
downloadupstream-12ccb1ed734641f5a31c992a4cded3c7016f96fd.tar.gz
upstream-12ccb1ed734641f5a31c992a4cded3c7016f96fd.tar.bz2
upstream-12ccb1ed734641f5a31c992a4cded3c7016f96fd.zip
reset CONFIG_SECTION when calling config_load
SVN-Revision: 5318
-rwxr-xr-xpackage/base-files/default/etc/functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh
index bf87548ca5..f7cb878bc9 100755
--- a/package/base-files/default/etc/functions.sh
+++ b/package/base-files/default/etc/functions.sh
@@ -77,6 +77,7 @@ config_clear() {
}
config_load() {
+ CONFIG_SECTION=
local DIR="./"
_C=0
[ \! -e "$1" -a -e "/etc/config/$1" ] && {