diff options
author | Brian Norris <computersforpeace@gmail.com> | 2023-09-10 14:10:50 -0700 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-09-16 12:02:23 +0200 |
commit | 10aee60361ce6bd547f7c2f0d1aaea76ae1cc9dc (patch) | |
tree | f604b89096ecabda916ebfdb735e784900cf5a7b /target/linux | |
parent | 6c60bbbc94b8f086fcb831214fa319ac8117767d (diff) | |
download | upstream-10aee60361ce6bd547f7c2f0d1aaea76ae1cc9dc.tar.gz upstream-10aee60361ce6bd547f7c2f0d1aaea76ae1cc9dc.tar.bz2 upstream-10aee60361ce6bd547f7c2f0d1aaea76ae1cc9dc.zip |
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>
(cherry picked from commit 7b78a19e6a16f5c05bfc6d7925b9981048c508d7)
Diffstat (limited to 'target/linux')
-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 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 |