ramips: board support for Asus RT-N10+
[openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 66eb6b9..cb9c7ab 100644 (file)
@@ -36,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
 }