projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: enable sysupgrade for the OpenMesh OM5P
[openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index
e25410b
..
17103ab
100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-245,7
+245,8
@@
platform_check_image() {
om2pv2 | \
om2p-hs | \
om2p-hsv2 | \
om2pv2 | \
om2p-hs | \
om2p-hsv2 | \
- om2p-lc)
+ om2p-lc | \
+ om5p)
platform_check_image_openmesh "$magic_long" "$1" && return 0
return 1
;;
platform_check_image_openmesh "$magic_long" "$1" && return 0
return 1
;;
@@
-423,7
+424,8
@@
platform_do_upgrade() {
om2pv2 | \
om2p-hs | \
om2p-hsv2 | \
om2pv2 | \
om2p-hs | \
om2p-hsv2 | \
- om2p-lc)
+ om2p-lc | \
+ om5p)
platform_do_upgrade_openmesh "$ARGV"
;;
uap-pro)
platform_do_upgrade_openmesh "$ARGV"
;;
uap-pro)