From 12ccb1ed734641f5a31c992a4cded3c7016f96fd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 28 Oct 2006 00:40:17 +0000 Subject: reset CONFIG_SECTION when calling config_load SVN-Revision: 5318 --- package/base-files/default/etc/functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/default/etc') 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" ] && { -- cgit v1.2.3