3 # Copyright (C) 2011-2012 OpenWrt.org
6 [ -e /etc/config/ubootenv ] && exit 0
8 touch /etc/config/ubootenv
10 . /lib/uboot-envtools.sh
16 alfa-network,ac1200rm|\
17 alfa-network,awusfree1|\
18 alfa-network,tube-e4g)
19 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x1000"
24 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
32 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000"
36 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x20000"
41 config_foreach ubootenv_add_app_config ubootenv