From: Daniel Golle Date: Thu, 11 Aug 2016 09:36:08 +0000 (+0200) Subject: oxnas: set preinit network interface X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9b1a429ab2541b173aea13d6aab9ab5ae82e332;p=openwrt%2Fstaging%2Frobimarko.git oxnas: set preinit network interface set network interface for failsafe mode to eth0 for all boards Signed-off-by: Daniel Golle --- 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