From: Felix Fietkau Date: Sat, 28 Oct 2006 00:40:17 +0000 (+0000) Subject: reset CONFIG_SECTION when calling config_load X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=12ccb1ed734641f5a31c992a4cded3c7016f96fd;p=openwrt%2Fstaging%2Fwigyori.git reset CONFIG_SECTION when calling config_load SVN-Revision: 5318 --- 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" ] && {