Browse Source

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 <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Brian Norris 2 years ago
parent
commit
7b78a19e6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ipq806x/base-files/lib/upgrade/platform.sh

+ 1 - 1
target/linux/ipq806x/base-files/lib/upgrade/platform.sh

@@ -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