blob: 156fb1735e318e000f7d95412fecfdfed9ad730e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# Copyright (C) 2020 OpenWrt.org
#
. /lib/functions.sh
. /lib/functions/uci-defaults.sh
board_config_update
case "$(board_name)" in
ubnt,edgerouter-x|\
ubnt,edgerouter-x-sfp|\
iptime,ax2004m)
ucidef_set_compat_version "2.0"
;;
tplink,er605-v2)
ucidef_set_compat_version "1.2"
;;
*)
ucidef_set_compat_version "1.1"
;;
esac
board_config_flush
exit 0
|