aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/omap35xx')
-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 0000000000..66b0bf9920
--- /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/ttyS1
+}
+
+boot_hook_add preinit_main ttyS1_noecho
+