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]>
  • Loading branch information
computersforpeace authored and hauke committed Sep 12, 2023
1 parent 20bd350 commit 7b78a19
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 @@ -82,7 +82,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 7b78a19

Please sign in to comment.