diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-28 00:40:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-28 00:40:17 +0000 |
commit | c17b680a77cbb3371f379e7883dc8722bb19d5b0 (patch) | |
tree | 73057d0497b316c901ef14b6d6aa9c67f9a267bd /package/base-files/default/etc/functions.sh | |
parent | 803f212243a65e5c6669e6a8902d479eefe1adaf (diff) | |
download | upstream-c17b680a77cbb3371f379e7883dc8722bb19d5b0.tar.gz upstream-c17b680a77cbb3371f379e7883dc8722bb19d5b0.tar.bz2 upstream-c17b680a77cbb3371f379e7883dc8722bb19d5b0.zip |
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/functions.sh')
-rwxr-xr-x | package/base-files/default/etc/functions.sh | 1 |
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" ] && { |