3 # Copyright (C) 2012 OpenWrt.org
6 [ -e /etc
/config
/ubootenv
] && exit 0
8 touch /etc
/config
/ubootenv
10 .
/lib
/uboot-envtools.sh
17 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
20 ubootenv_add_uci_config
"/dev/mtd2" "0x0" "0x4000" "0x4000" "1"
22 siemens
,gigaset-sx76x
)
23 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
26 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
29 idx
="$(find_mtd_index u-boot-env)"
31 ubootenv_add_uci_config
"/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"
36 config_foreach ubootenv_add_app_config ubootenv