ramips: add NMBM support for ipTIME AX2004M
[openwrt/staging/mans0n.git] / target / linux / ramips / mt7621 / base-files / etc / board.d / 05_compat-version
1 #
2 # Copyright (C) 2020 OpenWrt.org
3 #
4
5 . /lib/functions.sh
6 . /lib/functions/uci-defaults.sh
7
8 board_config_update
9
10 case "$(board_name)" in
11 iptime,ax2004m)
12 ucidef_set_compat_version "2.0"
13 ;;
14 *)
15 ucidef_set_compat_version "1.1"
16 ;;
17 esac
18
19 board_config_flush
20
21 exit 0