mirror of https://github.com/hak5/openwrt.git
ar71xx: remove nand_board_name platform override
The boardname isn't used any longer to find the subdirectory in the sysupgrade tar archive, which makes this override useless. Signed-off-by: Mathias Kresin <dev@kresin.me>openwrt-18.06
parent
c90a8cb755
commit
0b8a1e75df
|
@ -183,15 +183,6 @@ alfa_check_image() {
|
|||
return 0
|
||||
}
|
||||
|
||||
platform_nand_board_name() {
|
||||
local board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
rb*) echo "routerboard";;
|
||||
*) echo "$board";;
|
||||
esac
|
||||
}
|
||||
|
||||
platform_check_image() {
|
||||
local board=$(board_name)
|
||||
local magic="$(get_magic_word "$1")"
|
||||
|
|
Loading…
Reference in New Issue