summaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx/gumstix/base-files/lib
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-10 10:39:39 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-10 10:39:39 +0000
commitb2932eb6a99e794773ef73bd07110de1fbfa3103 (patch)
tree39a67c3edac7a1d075b5d4da528cea2fc7e54033 /target/linux/omap35xx/gumstix/base-files/lib
parent6f6d449030aaf3a448079f03be064d84d09ca5a3 (diff)
[gumstix] Switch of echo on ttyS1 (required for bluetooth to function correctly)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22575 3c298f89-4303-0410-b956-a3cf2f4a3e73
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..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
+