aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ath79/tiny/base-files/etc/board.d/05_compat-version
blob: b6c2ae48f75feb4f2919f93af42dbe83ac362175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Copyright (C) 2020 OpenWrt.org
#

. /lib/functions.sh
. /lib/functions/uci-defaults.sh

board_config_update

case "$(board_name)" in
	tplink,tl-wpa8630p-v2-int|\
	tplink,tl-wpa8630p-v2.0-eu|\
	tplink,tl-wpa8630p-v2.1-eu)
		ucidef_set_compat_version "2.0"
		;;
esac

board_config_flush

exit 0