linux-fax-stack/docker/t38modem/services/socat.sh

7 lines
115 B
Bash
Raw Normal View History

2024-12-20 14:53:12 +00:00
#!/usr/bin/env bash
2025-02-06 12:10:56 +00:00
# $1: PTTY
# $2: Unix socket
2024-12-20 14:53:12 +00:00
2025-02-06 12:10:56 +00:00
socat -d -d "file:${1},raw,echo=0" "UNIX-LISTEN:${2},reuseaddr"