projects
/
openwrt
/
staging
/
stintel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3092cebfc9ba17427a3ee77cd5cd18c90d280855
[openwrt/staging/stintel.git]
/
target
/
linux
/
mpc85xx
/
base-files
/
etc
/
hotplug.d
/
ieee80211
/
10-fix-wifi-mac
1
#!/bin/ash
2
3
[
"
$ACTION
"
==
"add"
]
||
exit
0
4
5
PHYNBR
=
${DEVPATH##*/phy}
6
7
[
-n
$PHYNBR
]
||
exit
0
8
9
.
/
lib
/
functions.sh
10
.
/
lib
/
function
s
/
system.sh
11
12
board
=
$
(
board_name
)
13
14
case
"
$board
"
in
15
sophos
,
red-15w-rev1
)
16
echo
$
(
mtd_get_mac_ascii u-boot-env ethaddr
) > /
sys
${DEVPATH}
/
macaddress
17
;;
18
*)
19
;;
20
esac