From: Gabor Juhos Date: Fri, 6 Jul 2012 11:11:58 +0000 (+0000) Subject: ar71xx: OM2P LC sysupgrade patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b020a7e7c3b3e4c626538476a31f7558c72e8ca0;p=openwrt%2Fstaging%2Fadrian.git ar71xx: OM2P LC sysupgrade patch Signed-off-by: Marek Lindner SVN-Revision: 32635 --- diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index f13fb8be70..5e5a54f6d2 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -126,7 +126,8 @@ platform_check_image() { } return 0 ;; - om2p) + om2p | \ + om2p-lc) platform_check_image_om2p "$magic_long" "$1" && return 0 return 1 ;; @@ -228,7 +229,8 @@ platform_do_upgrade() { all0258n ) platform_do_upgrade_all0258n "$ARGV" ;; - om2p) + om2p | \ + om2p-lc) platform_do_upgrade_om2p "$ARGV" ;; *)