summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo
diff options
context:
space:
mode:
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-10 17:10:47 +0000
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-10 17:10:47 +0000
commit04fe99d30d977b4287c4a0d1ec9dc72bd8418c90 (patch)
tree56b6e422d0f1f9322be56e30a549c45ee06f170e /target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo
parent4abea1092f5db4aa8b08965c47809e246c15f734 (diff)
brcm-2.4: Fixed preinit and failsafe switch configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21417 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo')
-rw-r--r--target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo b/target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo
new file mode 100644
index 000000000..f030cb283
--- /dev/null
+++ b/target/linux/brcm-2.4/base-files/lib/preinit/20_failsafe_net_echo
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+indicate_failsafe() {
+ preinit_net_echo() {
+ port_net_echo $1
+ }
+ echo "- failsafe -"
+ preinit_net_echo "Entering Failsafe!\n"
+ indicate_failsafe_led
+}
+
+