summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-17 09:43:37 +0000
committerJohn Crispin <john@openwrt.org>2015-03-17 09:43:37 +0000
commit10c5a4401757139ffac0754384d079ac47f2dc94 (patch)
tree0e1c4206511188ba33b4d943674a8f0681b7c526 /target/linux
parent85cceb5dd0f3c46a841bc5b243cf9f6ceaa64c94 (diff)
downloadmaster-31e0f0ae-10c5a4401757139ffac0754384d079ac47f2dc94.tar.gz
master-31e0f0ae-10c5a4401757139ffac0754384d079ac47f2dc94.tar.bz2
master-31e0f0ae-10c5a4401757139ffac0754384d079ac47f2dc94.zip
ar71xx: enable sysupgrade for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44863
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh6
2 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index a897dca03e..547116e6d4 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -68,6 +68,7 @@ platform_check_image_openmesh()
;;
OM5P)
[ "$board" = "om5p" ] && break
+ [ "$board" = "om5p-an" ] && break
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 4353efd60c..0cbee1d972 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -288,7 +288,8 @@ platform_check_image() {
om2p-hs | \
om2p-hsv2 | \
om2p-lc | \
- om5p)
+ om5p | \
+ om5p-an)
platform_check_image_openmesh "$magic_long" "$1" && return 0
return 1
;;
@@ -488,7 +489,8 @@ platform_do_upgrade() {
om2p-hs | \
om2p-hsv2 | \
om2p-lc | \
- om5p)
+ om5p | \
+ om5p-an)
platform_do_upgrade_openmesh "$ARGV"
;;
unifi-outdoor-plus | \