oxnas: set preinit interface in /etc/board.d/02_network

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2016-08-15 02:47:39 +02:00
parent ef4e511a81
commit f71f7f0df1
2 changed files with 2 additions and 7 deletions

View file

@ -5,6 +5,8 @@
board_config_update
ifname=eth0
ucidef_set_interface_lan "eth0" "dhcp"
board_config_flush

View file

@ -1,7 +0,0 @@
#!/bin/sh
oxnas_set_preinit_iface() {
ifname=eth0
}
boot_hook_add preinit_main oxnas_set_preinit_iface