diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds index f8241d306..21804c74a 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/leds @@ -26,9 +26,11 @@ case $board in ;; dir-300-b1|\ dir-600-b1|\ - dir-600-b2) + dir-600-b2|\ + dir-620-a1) # ANDed with vlan switch port 4 led state ucidef_set_led_default "wan" "WAN LED (amber)" "d-link:amber:wan" "1" + set_wifi_led "rt2800pci-phy0::radio" ;; esr-9753) set_wifi_led "rt2800pci-phy0::radio" diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index d1493da53..cbb0b85ff 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -94,7 +94,7 @@ ramips_setup_macs() ;; 3g-6200n | \ argus-atp52b | \ - b2c | \ + bc2 | \ f5d8235-v1 | \ nw718 | \ psr-680w | \ @@ -122,6 +122,12 @@ ramips_setup_macs() wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) ;; + dir-620-a1) + lan_mac=$(ramips_get_mac_binary factory 4) + lan_mac=$(maccalc or "$lan_mac" "02:00:00:00:00:00") + wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) + ;; + esr-9753 | \ ur-336un) lan_mac=$(ramips_get_mac_binary devdata 16388) |