projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: add Poray X8 support
[openwrt/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 30732339f13070d68c446d1e1a53bce2a8063f64..6712154dc4bf0b44282ea3079e057e76bc67dfcb 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
@@
-77,7
+77,8
@@
preinit_set_mac_address() {
;;
m3 |\
m4 |\
- x5)
+ x5 |\
+ x8)
mac=$(mtd_get_mac_binary factory 4)
mac=$(macaddr_add "$mac" -1)
ifconfig eth0 hw ether $mac 2>/dev/null