projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ath79: add support for Siemens WS-AP3610
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
generic
/
base-files
/
lib
/
preinit
/
10_fix_eth_mac.sh
1
#!/bin/sh
2
3
.
/
lib
/
functions.sh
4
5
preinit_set_mac_address
() {
6
case
$
(
board_name
)
in
7
siemens
,
ws-ap3610
)
8
ip link
set
dev eth0 address $
(
mtd_get_mac_ascii cfg1 ethaddr
)
9
;;
10
esac
11
}
12
13
boot_hook_add preinit_main preinit_set_mac_address