From: hcg Date: Tue, 10 Aug 2010 10:39:39 +0000 (+0000) Subject: [gumstix] Switch of echo on ttyS1 (required for bluetooth to function correctly) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/b2932eb6a99e794773ef73bd07110de1fbfa3103 [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 --- 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 000000000..66b0bf992 --- /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 +