mirror of https://github.com/hak5/openwrt-owl.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 <jogo@openwrt.org> SVN-Revision: 48304owl
parent
74aca7d913
commit
25ce154605
|
@ -6,7 +6,7 @@ platform_check_image() {
|
||||||
local board=$(ipq806x_board_name)
|
local board=$(ipq806x_board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
AP148 |\
|
ap148 |\
|
||||||
r7500)
|
r7500)
|
||||||
nand_do_platform_check $board $1
|
nand_do_platform_check $board $1
|
||||||
return $?;
|
return $?;
|
||||||
|
@ -20,7 +20,7 @@ platform_pre_upgrade() {
|
||||||
local board=$(ipq806x_board_name)
|
local board=$(ipq806x_board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
AP148 |\
|
ap148 |\
|
||||||
r7500)
|
r7500)
|
||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue