aboutsummaryrefslogtreecommitdiff
path: root/scripts/minicom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/minicom.sh')
-rwxr-xr-xscripts/minicom.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/minicom.sh b/scripts/minicom.sh
deleted file mode 100755
index f47d0966..00000000
--- a/scripts/minicom.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# If you want to use toybox netcat to talk to a serial port, use this.
-
-if [ ! -c "$1" ]
-then
- echo "usage: minicom.sh /dev/ttyS0"
- exit 1
-fi
-
-SPEED="$2"
-[ -z "$SPEED" ] && SPEED=115200
-
-stty $SPEED -F "$1"
-stty raw -echo -ctlecho -F "$1"
-stty raw -echo # Need to do it on stdin, too.
-./toybox netcat -f "$1"
-stty cooked echo # Put stdin back.