3 # Copyright (C) 2017 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 [ -e /etc/config/ubootenv ] && exit 0
11 touch /etc/config/ubootenv
13 . /lib/uboot-envtools.sh
20 ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x1000"
25 config_foreach ubootenv_add_app_config ubootenv