aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Sonius <walterav1984@gmail.com>2021-03-21 20:06:33 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-21 22:45:20 +0100
commit46c0634b508f731df487a7909c439b2794445e26 (patch)
tree4c7e8ce550e68287ae5a6afd0c58ba9be1fc6bfb
parent2c81b1696400c60fdb4316ae447f789087781359 (diff)
downloadupstream-46c0634b508f731df487a7909c439b2794445e26.tar.gz
upstream-46c0634b508f731df487a7909c439b2794445e26.tar.bz2
upstream-46c0634b508f731df487a7909c439b2794445e26.zip
ath79: fix lan port display order for sitecom wlr-7100
Physical port order watched from the back of the device is: 4 / 3 / 2 / 1 / WAN which also matches corresponding leds. This patch corrects LuCI switch webpage LAN port order. Signed-off-by: Walter Sonius <walterav1984@gmail.com> [improve commit title, fix sorting in 02_network] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-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 86be2b12d7..aa5a336c57 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
@@ -223,6 +223,7 @@ ath79_setup_interfaces()
dlink,dir-842-c3|\
dlink,dir-859-a1|\
engenius,epg5000|\
+ sitecom,wlr-7100|\
tplink,archer-c2-v3|\
tplink,tl-wr1043nd-v4|\
tplink,tl-wr1043n-v5)
@@ -262,7 +263,6 @@ ath79_setup_interfaces()
iodata,wn-ac1600dgr2|\
iodata,wn-ag300dgr|\
pcs,cr5000|\
- sitecom,wlr-7100|\
wd,mynet-n750)
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"