From a9b1a429ab2541b173aea13d6aab9ab5ae82e332 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 11 Aug 2016 11:36:08 +0200 Subject: [PATCH] oxnas: set preinit network interface set network interface for failsafe mode to eth0 for all boards Signed-off-by: Daniel Golle --- .../base-files/lib/preinit/07_set_preinit_iface_oxnas.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh diff --git a/target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh b/target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh new file mode 100644 index 0000000000..1e096bb0da --- /dev/null +++ b/target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +oxnas_set_preinit_iface() { + ifname=eth0 +} + +boot_hook_add preinit_main oxnas_set_preinit_iface