docker-devtools/inspect/serial-log/init.sh
2025-09-04 16:08:40 -06:00

6 lines
144 B
Bash
Executable file

#!/bin/bash
set -x
SERIAL_DEV=$1
DEV_NAME=$(basename "${SERIAL_DEV}")
tio -m INLCRNL --log --log-file "serial-log.${DEV_NAME}" "${SERIAL_DEV}"