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:
		| @@ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin