RFC: interface should be defined for failsafe?
Signed-off-by: Cezary Jackiewicz <[email protected]>
---
Index: target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface
===================================================================
--- target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface (wersja
0)
+++ target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface (kopia
robocza)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+
+. /lib/ramips.sh
+
+set_preinit_iface() {
+ ifname=eth0
+}
+
+boot_hook_add preinit_main set_preinit_iface
+
+
+
--
Pozdrawiam,
Cezary Jackiewicz
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel