/usr/bin/tos-serial-configure is in tinyos-tools 1.4.2-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3
#!/bin/sh num=$((`echo $1 | sed -e s/COM//` - 1)) stty -F /dev/ttyS$num raw