From: Christian Marangi Date: Tue, 12 Dec 2023 00:25:01 +0000 (+0100) Subject: ipq806x: drop useless uci-defaults compat version script X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3eca9ba53f38b60cf7994606072023b0af49b357;p=openwrt%2Fstaging%2Fneocturne.git ipq806x: drop useless uci-defaults compat version script Drop useless uci-defaults compat version script as it's not needed anymore and should have been dropped on DSA conversion. The script was needed for Linksys EA7500 and EA8500 for the kernel space migration. We now handle compat version setting in board.d scripts. Having this script with actually the wrong value (2.0) cause upgrade problem and conflicts with board.d script. Fixes: 337e36e0ef98 ("ipq806x: convert each device to DSA implementation") Signed-off-by: Christian Marangi --- diff --git a/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version deleted file mode 100644 index 3b9dd4e028..0000000000 --- a/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version +++ /dev/null @@ -1,11 +0,0 @@ -. /lib/functions.sh - -case "$(board_name)" in - linksys,ea7500-v1|\ - linksys,ea8500) - uci set system.@system[0].compat_version="2.0" - uci commit system - ;; -esac - -exit 0