mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-28 22:07:57 +02:00
reset CONFIG_SECTION when calling config_load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
98b7ae9aae
commit
fbaefdbf9d
@ -77,6 +77,7 @@ config_clear() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config_load() {
|
config_load() {
|
||||||
|
CONFIG_SECTION=
|
||||||
local DIR="./"
|
local DIR="./"
|
||||||
_C=0
|
_C=0
|
||||||
[ \! -e "$1" -a -e "/etc/config/$1" ] && {
|
[ \! -e "$1" -a -e "/etc/config/$1" ] && {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user