projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: replace remaining occurrences of ifconfig with ip
[openwrt/staging/rmilecki.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 1f8c1c29fbebaddd1724f2cfde1481627e507b42..5f92c01931b8d189efb5bbcc77476beded4c3da0 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
@@
-5,7
+5,7
@@
preinit_set_mac_address() {
meraki,mr24|\
meraki,mx60)
mac_lan=$(mtd_get_mac_binary_ubi board-config 0x66)
- [ -n "$mac_lan" ] && i
fconfig eth0 hw ether
"$mac_lan"
+ [ -n "$mac_lan" ] && i
p link set eth0 address
"$mac_lan"
;;
esac
}