+ *) eval "export ${NO_EXPORT:+-n} -- \"$1=\${CONFIG_${2}_${3}}\"";;
+ esac
+}
+
+# config_get_bool <variable> <section> <option> [<default>]
+config_get_bool() {
+ local _tmp
+ config_get "_tmp" "$2" "$3"
+ case "$_tmp" in
+ 1|on|enabled) export ${NO_EXPORT:+-n} "$1=1";;
+ 0|off|disabled) export ${NO_EXPORT:+-n} "$1=0";;
+ *) eval "$1=${4:-0}";;