summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-28 00:40:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-28 00:40:17 +0000
commitfbaefdbf9de2fc01f684260562c0edc8912ceb22 (patch)
tree73057d0497b316c901ef14b6d6aa9c67f9a267bd /package/base-files/default/etc
parent98b7ae9aae2324b06fae2d358b5c1f189f1a15a4 (diff)
reset CONFIG_SECTION when calling config_load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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" ] && {