diff options
| author | Brian Norris | 2023-09-10 21:10:50 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2023-09-12 21:36:30 +0000 |
| commit | 7b78a19e6a16f5c05bfc6d7925b9981048c508d7 (patch) | |
| tree | 0420f26a5689070e7f796f4a647d366bb956ba6b | |
| parent | 20bd3502d3a841457cc06b3aa45646258fdcba9e (diff) | |
| download | openwrt-7b78a19e6a16f5c05bfc6d7925b9981048c508d7.tar.gz | |
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@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
| -rw-r--r-- | target/linux/ipq806x/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh index 108b0b7630..8eda75b718 100644 --- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh +++ b/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 |