]> git.zerfleddert.de Git - fhem-stuff/blob - CUL/culd
b1cae3d4a1ef11934ccaa9750e061fe3f9c1fc1c
[fhem-stuff] / CUL / culd
1 #!/bin/sh
2
3 DEVICE=/dev/ttyACM0,b9600
4 PORT=2323
5 #OPTIONS="-ly -lh"
6 #OPTIONS="-v -x"
7
8 while true; do
9 echo "Listening on port ${PORT} for new connection requests"
10 socat ${OPTIONS} "${DEVICE},echo=0" "TCP-LISTEN:${PORT},reuseaddr"
11 done
Impressum, Datenschutz