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: openwrt#13409

Reviewed-by: Robert Marko <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
(cherry picked from commit 7b78a19)
  • Loading branch information
computersforpeace committed Sep 13, 2023
1 parent 6577b55 commit b0c1a08
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 b0c1a08

Please sign in to comment.