mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -98,6 +98,9 @@ ramips_board_name() {
|
||||
*"RT-G32 B1")
|
||||
name="rt-g32-b1"
|
||||
;;
|
||||
*"RT-N10+")
|
||||
name="rt-n10-plus"
|
||||
;;
|
||||
*"RT-N15")
|
||||
name="rt-n15"
|
||||
;;
|
||||
|
||||
@@ -27,6 +27,7 @@ platform_check_image() {
|
||||
nw718 | \
|
||||
omni-emb | \
|
||||
rt-g32-b1 | \
|
||||
rt-n10-plus | \
|
||||
rt-n15 | \
|
||||
rt-n56u | \
|
||||
sl-r7205 | \
|
||||
|
||||
Reference in New Issue
Block a user