Switch of echo on ttyS1 (required for bluetooth to function correctly)
authorHamish Guthrie <hcg@openwrt.org>
Tue, 10 Aug 2010 10:39:39 +0000 (10:39 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Tue, 10 Aug 2010 10:39:39 +0000 (10:39 +0000)
SVN-Revision: 22575

target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho [new file with mode: 0644]

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 (file)
index 0000000..66b0bf9
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Copyright (C) 2010 OpenWrt.org
+
+ttyS1_noecho() {
+       stty -echo < /dev/ttyS1
+}
+
+boot_hook_add preinit_main ttyS1_noecho
+