reset CONFIG_SECTION when calling config_load

SVN-Revision: 5318
master
Felix Fietkau 18 years ago
parent 8a7cf55e06
commit 12ccb1ed73
  1. 1
      package/base-files/default/etc/functions.sh

@ -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…
Cancel
Save