aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit882faabe62af67721e54077fe90ef3b081c3270c (patch)
tree2e2a7acee1cbebba58422400a7b94ea5bec21ae3 /target
parentc18c485f382bd21403b84c3ad2dce2c9e6ab1fd9 (diff)
downloadupstream-882faabe62af67721e54077fe90ef3b081c3270c.tar.gz
upstream-882faabe62af67721e54077fe90ef3b081c3270c.tar.bz2
upstream-882faabe62af67721e54077fe90ef3b081c3270c.zip
ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32635 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 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"
;;
*)