preinit_set_mac_address() {
case $(ar71xx_board_name) in
+ c-55)
+ mac_lan=$(mtd_get_mac_binary art 0)
+ [ -n "$mac_lan" ] && ifconfig eth0 hw ether "$mac_lan"
+ ;;
dir-615-c1)
fetch_mac_from_mtd config lan_mac wan_mac
echo 1 > /sys/class/leds/dir-615-c1:green:wancpu/brightness
}
boot_hook_add preinit_main preinit_set_mac_address
-