reset CONFIG_SECTION when calling config_load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
803f212243
commit
c17b680a77
|
@ -77,6 +77,7 @@ config_clear() {
|
|||
}
|
||||
|
||||
config_load() {
|
||||
CONFIG_SECTION=
|
||||
local DIR="./"
|
||||
_C=0
|
||||
[ \! -e "$1" -a -e "/etc/config/$1" ] && {
|
||||
|
|
Loading…
Reference in New Issue