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
14 .
/lib
/uboot-envtools.sh
17 board
=$
(pistachio_board_name
)
21 ubootenv_add_uci_config
"/dev/mtd2" "0x0" "0x2000" "0x1000"
26 config_foreach ubootenv_add_app_config ubootenv