6 lines
115 B
Bash
6 lines
115 B
Bash
#!/usr/bin/env bash
|
|
|
|
# $1: PTTY
|
|
# $2: Unix socket
|
|
|
|
socat -d -d "file:${1},raw,echo=0" "UNIX-LISTEN:${2},reuseaddr"
|