summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
;;
*)