Skip to content

Commit

Permalink
ipq806x: Correct OnHub sysupgrade config logic
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
(cherry picked from commit 7b78a19)
  • Loading branch information
computersforpeace authored and Ansuel committed Sep 16, 2023
1 parent 6c60bbb commit 10aee60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/ipq806x/base-files/lib/upgrade/platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ platform_do_upgrade() {
}

platform_copy_config() {
case "${board_name}" in
case "$(board_name)" in
asus,onhub |\
tplink,onhub)
emmc_copy_config
Expand Down

0 comments on commit 10aee60

Please sign in to comment.