From 375c77bb026efc7cea279d254c30502419f09df8 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 19 Nov 2022 16:49:02 +0530 Subject: [PATCH] script to run socat to redirect tcp 19090 port to a serial tty --- run-socat.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 run-socat.sh diff --git a/run-socat.sh b/run-socat.sh new file mode 100755 index 0000000..4424e36 --- /dev/null +++ b/run-socat.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo socat pty,link=/dev/vtty,raw tcp:localhost:19090 -- 2.45.2