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
/
apm821xx
/
base-files
/
lib
/
preinit
/
05_set_iface_mac_apm821xx
diff --git
a/target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx
b/target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx
index 750af042e19fc646b65277895bbcdd1a4fa55ba1..ec540feb846568819c6459fd5adc03e4fc9e9c5b 100644
(file)
--- a/
target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx
+++ b/
target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx
@@
-1,9
+1,9
@@
#!/bin/sh
-. /lib/apm821xx.sh
-
preinit_set_mac_address() {
- case $(apm821xx_board_name) in
+ . /lib/functions.sh
+
+ case $(board_name) in
mr24|\
mx60)
mac_lan=$(mtd_get_mac_binary_ubi board-config 102)