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 | 12ccb1ed734641f5a31c992a4cded3c7016f96fd (patch) | |
tree | a6e7e14c4d12bb5df6feed162c1de6b6ad1183d2 | |
parent | 8a7cf55e06f8dd3c0eac0271112c01f165605abe (diff) | |
download | mtk-20170518-12ccb1ed734641f5a31c992a4cded3c7016f96fd.zip mtk-20170518-12ccb1ed734641f5a31c992a4cded3c7016f96fd.tar.gz mtk-20170518-12ccb1ed734641f5a31c992a4cded3c7016f96fd.tar.bz2 |
reset CONFIG_SECTION when calling config_load
SVN-Revision: 5318
-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 bf87548..f7cb878 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" ] && { |