diff options
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 7 |
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 47a9354d15..f13fb8be70 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" ;; |