-config_load() {
- local file="$UCI_ROOT/etc/config/$1"
- _C=0
- export ${NO_EXPORT:+-n} CONFIG_SECTIONS=
- export ${NO_EXPORT:+-n} CONFIG_NUM_SECTIONS=0
- export ${NO_EXPORT:+-n} CONFIG_SECTION=
-
- [ -e "$file" ] && {
- . $file
- } || return 1
-
- ${CONFIG_SECTION:+config_cb}
-}
-