summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc85xx/base-files/lib')
-rw-r--r--target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx b/target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx
new file mode 100644
index 000000000..22d7471dd
--- /dev/null
+++ b/target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+
+. /lib/mpc85xx.sh
+
+mpc85xx_set_preinit_iface() {
+ ifname=eth0
+}
+
+boot_hook_add preinit_main mpc85xx_set_preinit_iface