aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx/gumstix/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/omap35xx/gumstix/base-files/lib')
-rw-r--r--target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho b/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
new file mode 100644
index 000000000..319f51393
--- /dev/null
+++ b/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Copyright (C) 2010 OpenWrt.org
+
+ttyS1_noecho() {
+ stty -echo < /dev/ttyO1
+}
+
+boot_hook_add preinit_main ttyS1_noecho
+