ipq806x: Correct OnHub sysupgrade config logic

There's a typo in here: board_name is a function, not a variable. This
issue was pointed out on the OpenWrt forum.

Closes: #13409

Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
(cherry picked from commit 7b78a19e6a)
This commit is contained in:
Brian Norris 2023-09-10 14:10:50 -07:00 committed by Christian Marangi
parent 6c60bbbc94
commit 10aee60361
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -81,7 +81,7 @@ platform_do_upgrade() {
} }
platform_copy_config() { platform_copy_config() {
case "${board_name}" in case "$(board_name)" in
asus,onhub |\ asus,onhub |\
tplink,onhub) tplink,onhub)
emmc_copy_config emmc_copy_config