summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-07-06 11:11:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-07-06 11:11:58 +0000
commitb020a7e7c3b3e4c626538476a31f7558c72e8ca0 (patch)
treec1b29decaeaad7533005ccfcc365de6daec2b91a /target/linux
parenta650d33490880e81897659b1a630ce5e08b4fd9c (diff)
downloadmtk-20170518-b020a7e7c3b3e4c626538476a31f7558c72e8ca0.zip
mtk-20170518-b020a7e7c3b3e4c626538476a31f7558c72e8ca0.tar.gz
mtk-20170518-b020a7e7c3b3e4c626538476a31f7558c72e8ca0.tar.bz2
ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> SVN-Revision: 32635
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f13fb8b..5e5a54f 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"
;;
*)