}
config_load() {
+ CONFIG_SECTION=
local DIR="./"
_C=0
[ \! -e "$1" -a -e "/etc/config/$1" ] && {
. $file
done
}
+
+find_mtd_part() {
+ local PART="$(grep "\"$1\"" /proc/mtd | awk -F: '{print $1}')"
+ PART="${PART##mtd}"
+ echo "${PART:+/dev/mtdblock/$PART}"
+}
+