ipq806x: fix sysupgrade for AP148
authorJonas Gorski <jogo@openwrt.org>
Mon, 18 Jan 2016 10:46:58 +0000 (10:46 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 18 Jan 2016 10:46:58 +0000 (10:46 +0000)
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>
SVN-Revision: 48304

target/linux/ipq806x/base-files/lib/upgrade/platform.sh

index c0e19a128739378473848a72ab4f7642dcecc946..7fcf24602059cc8d265db83911c024dfbe6c7fa7 100644 (file)
@@ -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"
                ;;