From aa451e49760304296b79a97f89d52a2590b3245f Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Fri, 13 Jan 2023 21:02:06 +0800 Subject: [PATCH] bcm53xx: set compat version for DSA migration Signed-off-by: Tianling Shen --- .../base-files/etc/board.d/05_compat-version | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 target/linux/bcm53xx/base-files/etc/board.d/05_compat-version diff --git a/target/linux/bcm53xx/base-files/etc/board.d/05_compat-version b/target/linux/bcm53xx/base-files/etc/board.d/05_compat-version new file mode 100755 index 0000000000..d79092f76f --- /dev/null +++ b/target/linux/bcm53xx/base-files/etc/board.d/05_compat-version @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Copyright (C) 2020 OpenWrt.org +# + +. /lib/functions.sh +. /lib/functions/uci-defaults.sh + +board_config_update + +case "$(board_name)" in + *) + ucidef_set_compat_version "1.1" + ;; +esac + +board_config_flush + +exit 0