aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2021-07-05 08:45:18 +0200
committerPetr Štetiar <ynezz@true.cz>2021-07-05 08:53:38 +0200
commitbb2a9af6f1f3a03617002d0b9ba361f97d68dc02 (patch)
tree9f128eb006d45ec3d7c0a8376273b957a0b803d5 /target/linux
parent6c148116f778bfd2db88476cee4753b32538eafe (diff)
downloadupstream-bb2a9af6f1f3a03617002d0b9ba361f97d68dc02.tar.gz
upstream-bb2a9af6f1f3a03617002d0b9ba361f97d68dc02.tar.bz2
upstream-bb2a9af6f1f3a03617002d0b9ba361f97d68dc02.zip
ath79: base-files: fix broken network config
Fix bash syntax error introduced in commit cce2e8db564b ("ath79: add support for TP-Link TL-WR941HP v1") which resulted in broken default network configuration. In target/linux/ath79/generic/base-files/etc/board.d/02_network line 402: tplink,tl-wr842n-v2)\ ^-- SC1073: Couldn't parse this case item. Fix to allow more checks. References: https://gitlab.com/ynezz/openwrt-device-runtime-testing/-/jobs/1398837698/artifacts/file/cram-result-archer-c7-v5-initramfs.txt Fixes: cce2e8db564b ("ath79: add support for TP-Link TL-WR941HP v1") Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/generic/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index 8f547ba5ce..025d55fec0 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -399,7 +399,7 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4"
;;
- tplink,tl-wr842n-v2)\
+ tplink,tl-wr842n-v2|\
tplink,tl-wr941hp-v1)
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \