summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc
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 /package/base-files/default/etc
parent8a7cf55e06f8dd3c0eac0271112c01f165605abe (diff)
downloadmtk-20170518-12ccb1ed734641f5a31c992a4cded3c7016f96fd.zip
mtk-20170518-12ccb1ed734641f5a31c992a4cded3c7016f96fd.tar.gz
mtk-20170518-12ccb1ed734641f5a31c992a4cded3c7016f96fd.tar.bz2
reset CONFIG_SECTION when calling config_load
SVN-Revision: 5318
Diffstat (limited to 'package/base-files/default/etc')
-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 bf87548..f7cb878 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" ] && {