1 [ -e /etc/config/ubootenv ] && exit 0
3 touch /etc/config/ubootenv
5 . /lib/uboot-envtools.sh
11 extreme-networks,ws-ap3825i)
12 ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x20000"
13 ubootenv_add_uci_config "$(find_mtd_part 'cfg2')" "0x0" "0x10000" "0x20000"
16 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
17 ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000"
20 ubootenv_add_uci_config "$(find_mtd_part 'u-boot-env')" "0x0" "0x20000" "0x10000"
25 config_foreach ubootenv_add_app_config ubootenv