1 [ -e /etc/config/ubootenv ] && exit 0
3 touch /etc/config/ubootenv
5 . /lib/uboot-envtools.sh
12 8devices,mango-dvk-sfp)
13 idx="$(find_mtd_index 0:APPSBLENV)"
15 ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000"
18 idx="$(find_mtd_index 0:appsblenv)"
20 ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" "2"
25 config_foreach ubootenv_add_app_config