2020-08-19 10:13:26 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2020 OpenWrt.org
|
|
|
|
#
|
|
|
|
|
|
|
|
. /lib/functions.sh
|
|
|
|
|
|
|
|
case "$(board_name)" in
|
2020-08-24 12:29:32 +00:00
|
|
|
fsl,ls1012a-frwy-sdboot | \
|
2020-08-19 10:13:26 +00:00
|
|
|
fsl,ls1012a-rdb | \
|
2020-08-24 12:29:32 +00:00
|
|
|
fsl,ls1021a-iot-sdboot | \
|
2020-08-19 10:13:26 +00:00
|
|
|
fsl,ls1021a-twr | \
|
2020-08-24 12:29:32 +00:00
|
|
|
fsl,ls1021a-twr-sdboot | \
|
2020-08-19 10:13:26 +00:00
|
|
|
fsl,ls1043a-rdb | \
|
2020-08-24 12:29:32 +00:00
|
|
|
fsl,ls1043a-rdb-sdboot | \
|
2020-08-19 10:13:26 +00:00
|
|
|
fsl,ls1046a-rdb | \
|
2020-08-24 12:29:32 +00:00
|
|
|
fsl,ls1046a-rdb-sdboot | \
|
2020-08-19 10:13:26 +00:00
|
|
|
fsl,ls1088a-rdb | \
|
2020-08-24 12:29:32 +00:00
|
|
|
fsl,ls1088a-rdb-sdboot | \
|
2020-08-19 10:13:26 +00:00
|
|
|
fsl,ls2088a-rdb)
|
|
|
|
uci set system.@system[0].compat_version="2.0"
|
|
|
|
uci commit system
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
exit 0
|