Files
quectel-rgmii-toolkit/Belowx65Toolkit/socat-at-bridge/systemd_units/socat-smd11-to-ttyIN.service
Cameron Thompson bfd4b31fea Initial Commit
Start new branch for development on new 64bit x75 platfom.
2024-07-07 20:15:59 -04:00

15 lines
301 B
Desktop File

[Unit]
Description=Read from /dev/smd11 and write to ttyIN
BindsTo=socat-smd11.service
After=socat-smd11.service
[Service]
ExecStart=/bin/bash -c "/bin/cat /dev/smd11 > /dev/ttyIN"
ExecStartPost=/bin/sleep 2s
StandardInput=tty-force
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target