summaryrefslogtreecommitdiff
path: root/target/linux/omap35xx/gumstix
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
commit1835d39a9fe1f738a0f31cda303896993b7b9f3e (patch)
tree417f1f301d5130c8ebcb3027d248abe98492fd9b /target/linux/omap35xx/gumstix
parent42986e14fcc669dec94bd6f724e1ab7453cf04f5 (diff)
downloadmtk-20170518-1835d39a9fe1f738a0f31cda303896993b7b9f3e.zip
mtk-20170518-1835d39a9fe1f738a0f31cda303896993b7b9f3e.tar.gz
mtk-20170518-1835d39a9fe1f738a0f31cda303896993b7b9f3e.tar.bz2
Switch of echo on ttyS1 (required for bluetooth to function correctly)
SVN-Revision: 22575
Diffstat (limited to 'target/linux/omap35xx/gumstix')
-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 0000000..66b0bf9
--- /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
+