aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2018-08-21 23:06:59 +0200
committerMathias Kresin <dev@kresin.me>2018-08-23 22:42:15 +0200
commit7782715373a0f902e89a1e2613d30098b8fc26b8 (patch)
tree0172a94eb806ee6e213e35bcb3b1f3f3eb0c65de
parent614199c81d744c0f2cfecec4699b41047dad3b41 (diff)
downloadupstream-7782715373a0f902e89a1e2613d30098b8fc26b8.tar.gz
upstream-7782715373a0f902e89a1e2613d30098b8fc26b8.tar.bz2
upstream-7782715373a0f902e89a1e2613d30098b8fc26b8.zip
ath79: ubnt-xm: disable WAN on (rocket|bullet)-m
ubnt,bullet-m and ubnt,rocket-m targets support only single Ethernet port, therefore disable creation of WAN zone and interfaces for them, as their intended purpose is a wireless bridge. This aligns the configuration with one found in ar71xx target. ubnt,nano-m target is kept as is, being a two-port device. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 14ecea5676..1a83d56cc7 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -19,6 +19,8 @@ ath79_setup_interfaces()
tplink,tl-mr3020-v1|\
tplink,tl-mr3040-v2|\
tplink,tl-wr703n|\
+ ubnt,bullet-m|\
+ ubnt,rocket-m|\
ubnt,unifiac-lite|\
ubnt,unifiac-mesh|\
ubnt,unifi)