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

board_config_update

case "$(board_name)" in
	bananapi,bpi-r3)
		ucidef_set_compat_version "1.3"
		;;
	routerich,ax3000)
		ucidef_set_compat_version "1.1"
		;;
	bananapi,bpi-r4|\
	bananapi,bpi-r4-poe)
		ucidef_set_compat_version "1.1"
		;;
esac

board_config_flush

exit 0
