aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2016-01-18 10:46:58 +0000
committerJonas Gorski <jogo@openwrt.org>2016-01-18 10:46:58 +0000
commitb1761b50a75a9e6d2f53b3029cfb33c0b203e02b (patch)
tree43a9727bbc65f335dc4f425f595a59c8993eb944
parentf05fe6d2d3bede4b4e2e86197c5bc56406847869 (diff)
downloadmaster-187ad058-b1761b50a75a9e6d2f53b3029cfb33c0b203e02b.tar.gz
master-187ad058-b1761b50a75a9e6d2f53b3029cfb33c0b203e02b.tar.bz2
master-187ad058-b1761b50a75a9e6d2f53b3029cfb33c0b203e02b.zip
ipq806x: fix sysupgrade for AP148
AP148 uses lowercase name as boardname, so we need to use this in platform.sh as well. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48304 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index c0e19a1287..7fcf246020 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -6,7 +6,7 @@ platform_check_image() {
local board=$(ipq806x_board_name)
case "$board" in
- AP148 |\
+ ap148 |\
r7500)
nand_do_platform_check $board $1
return $?;
@@ -20,7 +20,7 @@ platform_pre_upgrade() {
local board=$(ipq806x_board_name)
case "$board" in
- AP148 |\
+ ap148 |\
r7500)
nand_do_upgrade "$1"
;;