2 # Copyright (C) 2016 LEDE
5 [ -f /etc/config/ubootenv ] && exit 0
7 touch /etc/config/ubootenv
9 . /lib/uboot-envtools.sh
17 ubootenv_add_uci_config "/dev/mtd1" "0x40000" "0x2000" "0x20000"
20 ubootenv_add_uci_config "/dev/mtd3" "0x0000" "0x80000" "0x80000"
25 config_foreach ubootenv_add_app_config ubootenv