ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
authorMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 30 Jun 2016 14:16:30 +0000 (16:16 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 30 Jun 2016 15:12:38 +0000 (17:12 +0200)
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
target/linux/ramips/base-files/etc/board.d/02_network

index dbb5fb4..6157d87 100755 (executable)
@@ -286,6 +286,10 @@ ramips_setup_macs()
                lan_mac=$(mtd_get_mac_ascii nvram lanmac)
                wan_mac=$(mtd_get_mac_ascii nvram wanmac)
                ;;
+       dir-860l-b1)
+               lan_mac=$(mtd_get_mac_ascii factory lanmac)
+               wan_mac=$(mtd_get_mac_ascii factory wanmac)
+               ;;
        e1700)
                wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
                ;;