Add program.sh script

This commit is contained in:
Markus Koch 2019-06-22 17:47:20 +02:00
parent 15fe4e4ca3
commit 0de1c093cd

View File

@ -0,0 +1,9 @@
#!/bin/bash
if [ $# -lt 2 ]; then
echo "Usage: $0 </dev/ttyX> <progfile>"
exit 1
fi
stty -F "$1" raw
cat "$2" > "$1"