Add program.sh script

sw
Markus Koch 2019-06-22 17:47:20 +02:00
parent 15fe4e4ca3
commit 0de1c093cd
1 changed files with 9 additions and 0 deletions

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"