projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ralink: Add support for samsung cy-swr1100 wireless router
[openwrt/staging/chunkeey.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 7ff6e3d5e687c57b8004af9335d25a7d6dd2761b..8538c136ab7c8801a9ba5b313b8589ea0a0419f7 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
@@
-51,6
+51,7
@@
preinit_set_mac_address() {
mac=$(mtd_get_mac_binary devdata 16388)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
+ cy-swr1100 |\
dir-645)
mac=$(mtd_get_mac_ascii nvram lanmac)
mac=$(macaddr_setbit_la "$mac")