oxnas: set preinit network interface

set network interface for failsafe mode to eth0 for all boards

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2016-08-11 11:36:08 +02:00
parent 592c0a1cd2
commit a9b1a429ab

View file

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