mirror of https://github.com/hak5/openwrt.git
ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>lede-17.01
parent
103ed00cfb
commit
0a0caa2656
|
@ -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)
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue