projects
/
openwrt
/
staging
/
aparcar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath79: add support for Senao Engenius ESR1750
[openwrt/staging/aparcar.git]
/
target
/
linux
/
ath79
/
generic
/
base-files
/
lib
/
preinit
/
10_fix_eth_mac.sh
diff --git
a/target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh
b/target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh
index 50855f543f445aa45922a6abdd7491d721224daa..b98b047c937194f1f1070062dc8a751c8d052643 100644
(file)
--- a/
target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh
+++ b/
target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh
@@
-12,6
+12,7
@@
preinit_set_mac_address() {
ip link set dev eth0 address $(mtd_get_mac_ascii bdcfg "lanmac")
ip link set dev eth1 address $(mtd_get_mac_ascii bdcfg "wanmac")
;;
+ engenius,esr1750|\
engenius,esr900)
ip link set dev eth0 address $(mtd_get_mac_ascii u-boot-env ethaddr)
;;