ramips: board support for Asus RT-N10+
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 66eb6b98a4eda2fc0dfab0aa9e3b1237c9b3a7bd..cb9c7abd1bb7eb5637fb8d060223bdd361e7c5fd 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
 }