]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/misc/tos-serial-configure
Merge devel code into the trunk.
[tinyos-2.x.git] / tools / tinyos / misc / tos-serial-configure
diff --git a/tools/tinyos/misc/tos-serial-configure b/tools/tinyos/misc/tos-serial-configure
new file mode 100644 (file)
index 0000000..ded492d
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+num=$((`echo $1 | sed -e s/COM//` - 1))
+stty -F /dev/ttyS$num raw