[gumstix] Switch of echo on ttyS1 (required for bluetooth to function correctly)
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Aug 2010 10:39:39 +0000 (10:39 +0000)
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Aug 2010 10:39:39 +0000 (10:39 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22575 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
+