From 659093b8bbc5c26015b13b02adf936053a42d4c0 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sat, 30 Jul 2022 14:07:11 +0900 Subject: [PATCH] scripts/picocom-sec.sh: Add convenience script Signed-off-by: Hector Martin --- proxyclient/tools/picocom-sec.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 proxyclient/tools/picocom-sec.sh diff --git a/proxyclient/tools/picocom-sec.sh b/proxyclient/tools/picocom-sec.sh new file mode 100755 index 00000000..053df37f --- /dev/null +++ b/proxyclient/tools/picocom-sec.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +while true; do + while [ ! -e /dev/m1n1-sec ]; do sleep 1; done + picocom --omap crlf --imap lfcrlf -b 500000 /dev/m1n1-sec + sleep 1 +done