diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 |
1 files changed, 5 insertions, 0 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 9d3a9de..828f461 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -95,6 +95,7 @@ ramips_setup_interfaces() pbr-m1|\ psg1208|\ psg1218|\ + r6220|\ sap-g3200u3|\ sk-wb8|\ vr500|\ @@ -394,6 +395,10 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_binary factory 40) wan_mac=$(mtd_get_mac_binary factory 46) ;; + r6220) + wan_mac=$(mtd_get_mac_binary factory 4) + lan_mac=$(macaddr_add "$wan_mac" 1) + ;; rt-n56u) lan_mac=$(cat /sys/class/net/eth0/address) lan_mac=$(macaddr_setbit_la "$lan_mac") |