3 [ "$ACTION" = "add" ] ||
exit 0
5 PHYNBR
=${DEVPATH##*/phy}
7 [ -n "$PHYNBR" ] ||
exit 0
10 .
/lib
/functions
/system.sh
15 enterasys
,ws-ap3710i|\
16 extreme-networks
,ws-ap3825i
)
17 mtd_get_mac_ascii cfg2 RADIOADDR
${PHYNBR} > /sys
${DEVPATH}/macaddress
20 mtd_get_mac_ascii uboot-env0 wmac$
(($PHYNBR + 1)) > /sys
${DEVPATH}/macaddress
23 mtd_get_mac_ascii u-boot-env ethaddr
> /sys
${DEVPATH}/macaddress