openwrt/target/linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version
Rosen Penev 5815884c3a apm821xx: migrate to DSA
The qca8k driver is upstream, unlike swconfig. This applies to the mx60
and wndr4700 only. Fixed up LED definitions as well.

RTL83xx DSA for WNDAP62300/660 is not working.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/14037
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-09-15 13:16:44 +02:00

14 lines
199 B
Plaintext

. /lib/functions.sh
case "$(board_name)" in
meraki,mx60|\
netgear,wndap620|\
netgear,wndap660|\
netgear,wndr4700)
uci set system.@system[0].compat_version="3.0"
uci commit system
;;
esac
exit 0