[source] oxnas: set preinit network interface
LEDE Commits
lede-commits at lists.infradead.org
Thu Aug 11 08:16:48 PDT 2016
dangole pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=a9b1a429ab2541b173aea13d6aab9ab5ae82e332
commit a9b1a429ab2541b173aea13d6aab9ab5ae82e332
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Aug 11 11:36:08 2016 +0200
oxnas: set preinit network interface
set network interface for failsafe mode to eth0 for all boards
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
.../oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh | 7 +++++++
1 file changed, 7 insertions(+)
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 0000000..1e096bb
--- /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
More information about the lede-commits
mailing list