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

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

board_config_update

case "$(board_name)" in
	zyxel,p-2812hnu-f1)
		ucidef_set_compat_version "2.0"
		;;

	*)
		ucidef_set_compat_version "1.1"
		;;
esac

board_config_flush

exit 0