oxnas: set preinit interface in /etc/board.d/02_network
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
ef4e511a81
commit
f71f7f0df1
2 changed files with 2 additions and 7 deletions
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
board_config_update
|
board_config_update
|
||||||
|
|
||||||
|
ifname=eth0
|
||||||
|
|
||||||
ucidef_set_interface_lan "eth0" "dhcp"
|
ucidef_set_interface_lan "eth0" "dhcp"
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
oxnas_set_preinit_iface() {
|
|
||||||
ifname=eth0
|
|
||||||
}
|
|
||||||
|
|
||||||
boot_hook_add preinit_main oxnas_set_preinit_iface
|
|
Loading…
Reference in a new issue