Update socat script

This commit is contained in:
Dominic Grimm 2025-02-06 13:10:56 +01:00
parent c229a79f4e
commit f8412386c4
5 changed files with 13 additions and 24 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# $1: PTTY ID
# $2: TCP server port
# $1: PTTY
# $2: Unix socket
socat -d -d "file:${1},raw,echo=0" "TCP-LISTEN:${2},reuseaddr"
socat -d -d "file:${1},raw,echo=0" "UNIX-LISTEN:${2},reuseaddr"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
PTTY=$(seq -f "+${1}-%g" -s "," "${T38MODEM_MODEM_COUNT}")
PTTY=$(seq -f "+${1}%g" -s "," "${T38MODEM_MODEM_COUNT}")
CMD=(
"t38modem"