aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh7
1 files changed, 7 insertions, 0 deletions
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