mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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
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…
x
Reference in New Issue
Block a user