ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49151
This commit is contained in:
parent
7461604bd9
commit
3dabaef6a1
2 changed files with 5 additions and 2 deletions
|
@ -74,6 +74,7 @@ platform_check_image_openmesh()
|
||||||
;;
|
;;
|
||||||
OM5PAC)
|
OM5PAC)
|
||||||
[ "$board" = "om5p-ac" ] && break
|
[ "$board" = "om5p-ac" ] && break
|
||||||
|
[ "$board" = "om5p-acv2" ] && break
|
||||||
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
|
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
|
||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -323,7 +323,8 @@ platform_check_image() {
|
||||||
om2p-lc | \
|
om2p-lc | \
|
||||||
om5p | \
|
om5p | \
|
||||||
om5p-an | \
|
om5p-an | \
|
||||||
om5p-ac)
|
om5p-ac | \
|
||||||
|
om5p-acv2)
|
||||||
platform_check_image_openmesh "$magic_long" "$1" && return 0
|
platform_check_image_openmesh "$magic_long" "$1" && return 0
|
||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
|
@ -577,7 +578,8 @@ platform_do_upgrade() {
|
||||||
om2p-lc | \
|
om2p-lc | \
|
||||||
om5p | \
|
om5p | \
|
||||||
om5p-an | \
|
om5p-an | \
|
||||||
om5p-ac)
|
om5p-ac | \
|
||||||
|
om5p-acv2)
|
||||||
platform_do_upgrade_openmesh "$ARGV"
|
platform_do_upgrade_openmesh "$ARGV"
|
||||||
;;
|
;;
|
||||||
unifi-outdoor-plus | \
|
unifi-outdoor-plus | \
|
||||||
|
|
Loading…
Reference in a new issue