summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 47a9354d1..f13fb8be7 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -126,6 +126,10 @@ platform_check_image() {
}
return 0
;;
+ om2p)
+ platform_check_image_om2p "$magic_long" "$1" && return 0
+ return 1
+ ;;
tl-mr11u | \
tl-mr3020 | \
tl-mr3220 | \
@@ -224,6 +228,9 @@ platform_do_upgrade() {
all0258n )
platform_do_upgrade_all0258n "$ARGV"
;;
+ om2p)
+ platform_do_upgrade_om2p "$ARGV"
+ ;;
*)
default_do_upgrade "$ARGV"
;;