summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/base-files/lib
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-12-11 20:31:07 +0000
committerRafał Miłecki <zajec5@gmail.com>2014-12-11 20:31:07 +0000
commit3aaee1ba023ac40f329821ca3d2fb6b17a7532a4 (patch)
treee0de164192b1ccb5dd70c53fd38d25f9d44dae40 /target/linux/bcm53xx/base-files/lib
parentff06d03a38370251cc553250ae3256d6cf9ccbd4 (diff)
downloadmtk-20170518-3aaee1ba023ac40f329821ca3d2fb6b17a7532a4.zip
mtk-20170518-3aaee1ba023ac40f329821ca3d2fb6b17a7532a4.tar.gz
mtk-20170518-3aaee1ba023ac40f329821ca3d2fb6b17a7532a4.tar.bz2
bcm53xx: failsafe support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43639
Diffstat (limited to 'target/linux/bcm53xx/base-files/lib')
-rw-r--r--target/linux/bcm53xx/base-files/lib/preinit/05_set_preinit_iface_bcm53xx7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/preinit/05_set_preinit_iface_bcm53xx b/target/linux/bcm53xx/base-files/lib/preinit/05_set_preinit_iface_bcm53xx
new file mode 100644
index 0000000..0539b82
--- /dev/null
+++ b/target/linux/bcm53xx/base-files/lib/preinit/05_set_preinit_iface_bcm53xx
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set_preinit_iface() {
+ ifname=eth0
+}
+
+boot_hook_add preinit_main set_preinit_iface