From: Jonas Gorski Date: Mon, 18 Jan 2016 10:46:58 +0000 (+0000) Subject: ipq806x: fix sysupgrade for AP148 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=25ce154605ea822b588aeb41380c80e392e75fbe;p=openwrt%2Fstaging%2Fneocturne.git 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 SVN-Revision: 48304 --- 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" ;;