kernel: bump 6.1 to 6.1.89
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / oxnas
1 #
2 # Copyright (C) 2013 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 "cloudengines,pogoplug"*|\
16 "shuttle,kd20")
17 ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x20000" "1"
18 ;;
19 "mitrastar,stg-212")
20 ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000" "1"
21 ;;
22 esac
23
24 config_load ubootenv
25 config_foreach ubootenv_add_app_config ubootenv
26
27 exit 0