diff options
author | John Crispin <john@openwrt.org> | 2013-08-01 14:30:58 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-08-01 14:30:58 +0000 |
commit | 0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3 (patch) | |
tree | 7bcbb73dd8651f219c94fb2a86e073294344c51a /target/linux/ramips/base-files/lib/preinit | |
parent | 23d3b705df405e36b07253f9d16f2fb7757f03f0 (diff) | |
download | upstream-0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3.tar.gz upstream-0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3.tar.bz2 upstream-0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3.zip |
ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37637
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 3 |
1 files changed, 2 insertions, 1 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 86c19b0b81..f9aabd5c4e 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 @@ -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 |