3 # Copyright (C) 2011-2014 OpenWrt.org
6 [ -e /etc/config/ubootenv ] && exit 0
8 touch /etc/config/ubootenv
10 . /lib/uboot-envtools.sh
19 glinet,gl-ar300m-lite|\
20 glinet,gl-ar300m-nand|\
21 glinet,gl-ar300m-nor|\
22 librerouter,librerouter-v1|\
31 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
33 buffalo,wzr-hp-ag300h)
34 ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x10000"
37 ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x10000" "0x10000"
42 config_foreach ubootenv_add_app_config ubootenv