mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
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
@ -5,6 +5,8 @@
|
||||
|
||||
board_config_update
|
||||
|
||||
ifname=eth0
|
||||
|
||||
ucidef_set_interface_lan "eth0" "dhcp"
|
||||
|
||||
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 New Issue
Block a user