ar71xx: fix network setup for UniFi
authorPaul Wassi <p.wassi@gmx.at>
Fri, 20 Oct 2017 15:35:48 +0000 (17:35 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Tue, 14 Nov 2017 21:36:46 +0000 (22:36 +0100)
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 <p.wassi@gmx.at>
target/linux/ar71xx/base-files/etc/board.d/02_network

index 5aef205..a5b8a95 100755 (executable)
@@ -129,6 +129,7 @@ ar71xx_setup_interfaces()
        tl-wr802n-v2|\
        tl-wr902ac-v1|\
        tube2h|\
+       unifi|\
        unifiac-lite|\
        wi2a-ac200i|\
        wndap360|\