diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 5 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index e01ba5f602..66f0c97437 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -291,6 +291,11 @@ px-4885) set_wifi_led "$board:orange:wifi" set_usb_led "$board:blue:storage" ;; +r6220) + ucidef_set_led_netdev "wan" "wan" "$board:green:wan" eth0.2 + set_wifi_led "$board:green:wifi" + set_usb_led "$board:green:usb" + ;; re6500) ucidef_set_led_default "power" "power" "$board:white:power" "1" ucidef_set_led_default "wifi" "wifi" "$board:orange:wifi" "1" 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 9d3a9de292..828f461c4f 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") |