projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use the generic board_name function
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
mvebu
/
base-files
/
lib
/
preinit
/
06_set_iface_mac
diff --git
a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac
b/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac
index ae34ef49da53f00c97d444179903cd2392c86325..e884351bf73613b209c3229af61444f9949d5c90 100644
(file)
--- a/
target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac
+++ b/
target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac
@@
-7,9
+7,8
@@
preinit_set_mac_address() {
local mac
. /lib/functions.sh
- . /lib/mvebu.sh
- case $(
mvebu_
board_name) in
+ case $(board_name) in
armada-xp-linksys-mamba)
mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
ifconfig eth0 hw ether $mac 2>/dev/null