ramips: board support for Asus RT-N10+
[openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 9f5c024..cb9c7ab 100644 (file)
@@ -9,9 +9,10 @@ preinit_set_mac_address() {
 
        case $(ramips_board_name) in
        bc2 |\
+       esr-9753 |\
        nw718 |\
        rt-n56u |\
-       esr-9753)
+       sl-r7205)
                mac=$(ramips_get_mac_binary factory 4)
                mac=$(maccalc or "$mac" "02:00:00:00:00:00")
                ifconfig eth0 hw ether $mac 2>/dev/null
@@ -35,6 +36,10 @@ preinit_set_mac_address() {
                mac=$(ramips_get_mac_binary board-nvram 65440)
                ifconfig eth0 hw ether $mac 2>/dev/null
                ;;
+       rt-n10-plus)
+               mac=$(ramips_get_mac_binary devconf 4)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+               ;;
        esac
 }
 
This page took 0.025638 seconds and 4 git commands to generate.