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

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle 8 years ago
parent ef4e511a81
commit f71f7f0df1
  1. 2
      target/linux/oxnas/base-files/etc/board.d/02_network
  2. 7
      target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh

@ -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…
Cancel
Save