Skip to content
Snippets Groups Projects
Commit 1c0c1ebc authored by John Crispin's avatar John Crispin
Browse files

lantiq: td-w8970: fix failsafe mode


Fix failsafe mode for TD-W8970, register interface for preinit.

Signed-off-by: default avatarCezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44353
parent 1c9dc26c
No related branches found
No related tags found
No related merge requests found
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment