base-files: correctly split install-key function for APK
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / mediatek_mt7629
1 #
2 # Copyright (C) 2021 OpenWrt.org
3 #
4
5 [ -e /etc/config/ubootenv ] && exit 0
6
7 touch /etc/config/ubootenv
8
9 . /lib/uboot-envtools.sh
10 . /lib/functions.sh
11
12 board=$(board_name)
13
14 case "$board" in
15 iptime,a6004mx|\
16 netgear,ex6250-v2)
17 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000"
18 ;;
19 esac
20
21 config_load ubootenv
22 config_foreach ubootenv_add_app_config ubootenv
23
24 exit 0