diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:57 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:57 +0000 |
commit | b2f04768710459c1c88de47ad292bc41a14e1f12 (patch) | |
tree | 618bb1fa6f3a3bc24e4c7170f60c998069668576 /target/linux/ar71xx/base-files/lib/upgrade/platform.sh | |
parent | 79910a3e710d00ff85abff295d370af1d4766388 (diff) | |
download | master-31e0f0ae-b2f04768710459c1c88de47ad292bc41a14e1f12.tar.gz master-31e0f0ae-b2f04768710459c1c88de47ad292bc41a14e1f12.tar.bz2 master-31e0f0ae-b2f04768710459c1c88de47ad292bc41a14e1f12.zip |
ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 32613
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" ;; |