lantiq: td-w8970: fix failsafe mode
Fix failsafe mode for TD-W8970, register interface for preinit. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 44353
This commit is contained in:
parent
1c9dc26ce9
commit
1c0c1ebc6b
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /lib/functions/lantiq.sh
|
||||
|
||||
set_preinit_iface() {
|
||||
|
||||
board=$(lantiq_board_name)
|
||||
|
||||
case "$board" in
|
||||
TDW8970)
|
||||
ifname=eth0
|
||||
;;
|
||||
esac
|
||||
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main set_preinit_iface
|
||||
|
Loading…
Reference in New Issue