summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-06 11:11:58 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-06 11:11:58 +0000
commit0e503f85bf4e8054f992fcae676233d4c558d9a5 (patch)
tree2e2a7acee1cbebba58422400a7b94ea5bec21ae3 /target
parent73bde4effdf9930e12279301ebe090377c3b42c7 (diff)
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 f13fb8be7..5e5a54f6d 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"
;;
*)