openwrt/target/linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version
Christian Lamparter 9fcb5c367e apm821xx: WNDAP6X0: add missed uci-default for compat
This should have been included in the previous patch that
resized the kernel partition to fit bigger kernels.

Fixes: 7a6a349445 ("apm821xx: WNDAP620 + WNDAP660: reorganize partitions for 5.10")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-10-22 21:25:18 +02:00

13 lines
180 B
Plaintext

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