[openwrt/openwrt] realtek: drop extraneous ')' in 02_network
LEDE Commits
lede-commits at lists.infradead.org
Thu Jan 2 00:45:35 PST 2025
svanheule pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a3391d871d3f14f5de2081e23eda08986abc2b9b
commit a3391d871d3f14f5de2081e23eda08986abc2b9b
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Thu Jan 2 09:31:44 2025 +0100
realtek: drop extraneous ')' in 02_network
The extraneous closing parenthesis inside the case matching breaks
syntax of the network initialization script 02_network.
/bin/board_detect: /etc/board.d/02_network:
line 40: syntax error: unexpected newline (expecting ")")
Remove this character so board init is functional again.
Fixes: c8ea1aa970bf ("realtek: add support for HPE 1920-24G-PoE-370w")
Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
target/linux/realtek/base-files/etc/board.d/02_network | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/linux/realtek/base-files/etc/board.d/02_network
index a73944107a..12fb33d85e 100644
--- a/target/linux/realtek/base-files/etc/board.d/02_network
+++ b/target/linux/realtek/base-files/etc/board.d/02_network
@@ -36,7 +36,7 @@ hpe,1920-8g-poe-65w|\
hpe,1920-8g-poe-180w|\
hpe,1920-16g|\
hpe,1920-24g|\
-hpe,1920-24g-poe-370w|\)
+hpe,1920-24g-poe-370w|\
hpe,1920-48g|\
hpe,1920-48g-poe)
label_mac=$(mtd_get_mac_binary factory 0x68)
More information about the lede-commits
mailing list