[openwrt/openwrt] ipq806x: Correct OnHub sysupgrade config logic
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 16 03:02:33 PDT 2023
ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/10aee60361ce6bd547f7c2f0d1aaea76ae1cc9dc
commit 10aee60361ce6bd547f7c2f0d1aaea76ae1cc9dc
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Sun Sep 10 14:10:50 2023 -0700
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 at gmail.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
(cherry picked from commit 7b78a19e6a16f5c05bfc6d7925b9981048c508d7)
---
target/linux/ipq806x/base-files/lib/upgrade/platform.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 5ec4f513bd..e292e231c8 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -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
More information about the lede-commits
mailing list