aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2010-08-10 10:39:39 +0000
committerHamish Guthrie <hcg@openwrt.org>2010-08-10 10:39:39 +0000
commit7938a816d44bcd6266f85343cd3fce10789ffd27 (patch)
tree39a67c3edac7a1d075b5d4da528cea2fc7e54033 /target/linux/omap35xx
parent59e915b7b68740a2de5dc0ebad7f49bc72f1e98c (diff)
downloadupstream-7938a816d44bcd6266f85343cd3fce10789ffd27.tar.gz
upstream-7938a816d44bcd6266f85343cd3fce10789ffd27.tar.bz2
upstream-7938a816d44bcd6266f85343cd3fce10789ffd27.zip
[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')
-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
+