From 1835d39a9fe1f738a0f31cda303896993b7b9f3e Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Tue, 10 Aug 2010 10:39:39 +0000 Subject: [PATCH] Switch of echo on ttyS1 (required for bluetooth to function correctly) SVN-Revision: 22575 --- .../gumstix/base-files/lib/preinit/95_ttyS1_noecho | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho 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 000000000000..66b0bf9920df --- /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 + -- 2.30.2