7d2eca546d76b771b12026788510f73a293a9a93
3 [ "$ACTION" == "add" ] ||
exit 0
5 PHYNBR
=${DEVPATH##*/phy}
7 [ -n $PHYNBR ] ||
exit 0
10 .
/lib
/functions
/system.sh
12 board
=$
(ar71xx_board_name
)
16 echo $
(macaddr_add $
(mtd_get_mac_binary mac
8) $
(($PHYNBR - 1)) ) > /sys
${DEVPATH}/macaddress