diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-04 16:09:11 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-04 16:09:11 +0000 |
commit | 6e1646817ee95cf861973c81ff89128e9872c2fb (patch) | |
tree | ed00614bd669241dbf0fa43b845a4cbede3c7c89 /target/linux/ramips/base-files/lib/preinit | |
parent | ea16273623bb5090487a990f4f59f77f194aa1b5 (diff) |
ramips: board support for Asus RT-N10+
[juhosg: fix indentation in platform scripts, and remove debug
messages from 06_set_iface_mac]
Signed-off-by: Patrick van Staveren <trick@vanstaveren.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30808 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 66eb6b98a..cb9c7abd1 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -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 } |