3 # Copyright (C) 2011-2014 OpenWrt.org
6 [ -e /etc
/config
/ubootenv
] && exit 0
8 touch /etc
/config
/ubootenv
11 .
/lib
/uboot-envtools.sh
14 board
=$
(ar71xx_board_name
)
30 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x10000" "0x10000"
33 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x10000" "0x10000"
42 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x40000" "0x40000"
45 ubootenv_add_uci_config
"/dev/mtd3" "0x0" "0x10000" "0x10000"
48 ubootenv_add_uci_config
"/dev/mtd9" "0x0" "0x10000" "0x10000"
53 config_foreach ubootenv_add_app_config ubootenv