summaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622/base-files/etc/uci-defaults/05_fix-compat-version
blob: 6309728e4bc08cdc9ca996adf33e8f051932bbf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
. /lib/functions.sh

case "$(board_name)" in
	bananapi,bpi-r64)
	uci set system.@system[0].compat_version="1.2"
	uci commit system
	;;
	buffalo,wsr-2533dhp2)
	uci set system.@system[0].compat_version="1.1"
	uci commit system
	;;
	linksys,e8450-ubi)
	uci set system.@system[0].compat_version="2.0"
	uci commit system
	;;
esac

exit 0