From: Paul Wassi
Date: Fri, 20 Oct 2017 15:35:48 +0000 (+0200)
Subject: ar71xx: fix network setup for UniFi
X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d7adaceda33b0b94962477e4c06c04d1ea4e82f8;p=openwrt%2Fstaging%2Faparcar.git
ar71xx: fix network setup for UniFi
The Ubiquiti UniFi APs just have eth0. Until now, the setup script fell
through to the default case and configured the (not present) eth1 as
WAN with DHCP.
Signed-off-by: Paul Wassi
---
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 5aef2058c2..a5b8a95cc8 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -129,6 +129,7 @@ ar71xx_setup_interfaces()
tl-wr802n-v2|\
tl-wr902ac-v1|\
tube2h|\
+ unifi|\
unifiac-lite|\
wi2a-ac200i|\
wndap360|\