ramips: add Poray M4 4M/8M support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
This commit is contained in:
John Crispin
2013-08-01 14:30:58 +00:00
parent 23d3b705df
commit 0dc3b44b0d
9 changed files with 222 additions and 2 deletions

View File

@@ -75,7 +75,8 @@ preinit_set_mac_address() {
mac=$(mtd_get_mac_binary factory 40)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
m3)
m3 |\
m4)
mac=$(mtd_get_mac_binary factory 4)
mac=$(macaddr_add "$mac" -1)
ifconfig eth0 hw ether $mac 2>/dev/null