Added console to call minicom on the USB serial.

Pascal J. Bourguignon [2021-07-12 09:39]
Added console to call minicom on the USB serial.
Filename
console
diff --git a/console b/console
new file mode 100755
index 0000000..077f293
--- /dev/null
+++ b/console
@@ -0,0 +1,8 @@
+#!/bin/bash
+device=/dev/ttyUSB0
+if [ ! -r "$device" ] ; then
+    printf 'Changing access rights on %s\n' "$device"
+    sudo chmod a+rw "$device"
+fi
+exec minicom -m z -8 -b 115200 -D "$device"
+
ViewGit