diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 96e5b7e1cc..0f2afe0425 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -213,6 +213,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0" ;; + asus,rt-ac57u|\ atp-52b|\ awm002-evb-4M|\ awm002-evb-8M|\ @@ -495,6 +496,11 @@ ramips_setup_macs() wmdr-143n) lan_mac=$(cat /sys/class/net/eth0/address) ;; + asus,rt-ac57u|\ + vr500) + lan_mac=$(mtd_get_mac_binary factory 57344) + wan_mac=$(mtd_get_mac_binary factory 57350) + ;; carambola|\ freestation5|\ w502u|\ @@ -647,10 +653,6 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_ascii u-boot-env LAN_MAC_ADDR) wan_mac=$(mtd_get_mac_ascii u-boot-env WAN_MAC_ADDR) ;; - vr500) - lan_mac=$(mtd_get_mac_binary factory 57344) - wan_mac=$(mtd_get_mac_binary factory 57350) - ;; w306r-v20) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 5) |