3 # Copyright (C) 2011-2014 OpenWrt.org
6 [ -e /etc/config/ubootenv ] && exit 0
8 touch /etc/config/ubootenv
10 . /lib/uboot-envtools.sh
66 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
78 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x40000"
82 ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x10000"
86 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0xf800" "0x10000"
89 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
90 ubootenv_add_uci_config "/dev/mtd1" "0x100000" "0x20000" "0x20000"
93 ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x10000" "0x10000"
96 ubootenv_add_uci_config "/dev/mtd4" "0x0" "0x8000" "0x10000"
99 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x10000"
102 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
107 config_foreach ubootenv_add_app_config ubootenv