ramips: add Poray X5/X6 Support

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

SVN-Revision: 37638
This commit is contained in:
John Crispin
2013-08-01 14:31:04 +00:00
parent 0dc3b44b0d
commit 54968110f1
8 changed files with 158 additions and 3 deletions

View File

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