From fbaefdbf9de2fc01f684260562c0edc8912ceb22 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 28 Oct 2006 00:40:17 +0000 Subject: reset CONFIG_SECTION when calling config_load git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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