diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-28 00:40:17 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-28 00:40:17 +0000 |
commit | fbaefdbf9de2fc01f684260562c0edc8912ceb22 (patch) | |
tree | 73057d0497b316c901ef14b6d6aa9c67f9a267bd | |
parent | 98b7ae9aae2324b06fae2d358b5c1f189f1a15a4 (diff) |
reset CONFIG_SECTION when calling config_load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 bf87548ca..f7cb878bc 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" ] && { |