From: nbd Date: Sat, 28 Oct 2006 00:40:17 +0000 (+0000) Subject: reset CONFIG_SECTION when calling config_load X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=fbaefdbf9de2fc01f684260562c0edc8912ceb22;p=openwrt-10.03%2F.git reset CONFIG_SECTION when calling config_load git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index bf87548ca..f7cb878bc 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" ] && {