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

board_config_update

case "$(board_name)" in
	bananapi,bpi-r3)
		ucidef_set_compat_version "1.3"
		;;
	bananapi,bpi-r4|\
	bananapi,bpi-r4-2g5|\
	bananapi,bpi-r4-poe|\
	routerich,ax3000|\
	zbtlink,zbt-z8102ax-v2)
		ucidef_set_compat_version "1.1"
		;;
esac

board_config_flush

exit 0
