74135b0d6270d17f7c5a7ec3a718b971171dd55d
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / board.d / 05_compat-version
1 #!/bin/sh
2 #
3 # Copyright (C) 2020 OpenWrt.org
4 #
5
6 . /lib/functions.sh
7 . /lib/functions/uci-defaults.sh
8
9 board_config_update
10
11 case "$(board_name)" in
12 arris,tr4400-v2 |\
13 askey,rt4230w-rev6 |\
14 asrock,g10 |\
15 buffalo,wxr-2533dhp |\
16 compex,wpq864 |\
17 nec,wg2600hp |\
18 nec,wg2600hp3 |\
19 netgear,d7800 |\
20 netgear,r7500 |\
21 netgear,r7500v2 |\
22 netgear,r7800 |\
23 netgear,xr450 |\
24 netgear,xr500 |\
25 nokia,ac400i |\
26 qcom,ipq8064-ap148 |\
27 qcom,ipq8064-ap161 |\
28 qcom,ipq8064-db149 |\
29 tplink,ad7200 |\
30 tplink,c2600 |\
31 tplink,vr2600v |\
32 zyxel,nbg6817 |\
33 asus,onhub |\
34 tplink,onhub)
35 ucidef_set_compat_version "1.1"
36 ;;
37 linksys,ea7500-v1 |\
38 linksys,ea8500)
39 ucidef_set_compat_version "2.1"
40 ;;
41 esac
42
43 board_config_flush
44
45 exit 0