commit | c49650d6914a3ddb151fe93b1bfed8136c0151d7 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Dec 17 17:34:02 2007 -0600 |
committer | Rob Landley <rob@landley.net> | Mon Dec 17 17:34:02 2007 -0600 |
tree | 2fed5097c93a5b5bf966323ca9f7c6775830317e | |
parent | e25e8b5fbb55e5ae549eb13b0c6dd7c560e22b0c [diff] [blame] |
minicom.sh should check for a char device, not a file.
diff --git a/scripts/minicom.sh b/scripts/minicom.sh index b22e105..58685c6 100755 --- a/scripts/minicom.sh +++ b/scripts/minicom.sh
@@ -2,7 +2,7 @@ # If you want to use toybox netcat to talk to a serial port, use this. -if [ ! -f "$1" ] +if [ ! -c "$1" ] then echo "Usage: minicom.sh /dev/ttyS0" exit 1