summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..66b0bf992
--- /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
+