openwrt/target/linux/lantiq/xrx200/base-files/etc/board.d/05_compat-version

23 lines
274 B
Plaintext

#
# 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