3 # Copyright (C) 2013 OpenWrt.org
8 ramips_set_preinit_iface() {
9 local board=$(ramips_board_name)
14 # Ralink ethernet driver cannot re-open ethernet if it is opened during preinit and then closed.
15 # Looks like Ralink ethernet driver has a problem.
16 # Temporary solution is not to open ethernet during preinit.
24 boot_hook_add preinit_main ramips_set_preinit_iface