projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: add Poray M4 4M/8M support
[openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
preinit
/
06_set_iface_mac
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
86c19b0
..
f9aabd5
100644
(file)
--- 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