#!/bin/sh

if [ $# -lt 1 ] ; then
	echo "usage:	stvmcons.sh name"
	exit 1
fi

line=$(vmctl status | grep $1 | awk '{ print "/dev/"$6 }')
st -t $1 -l $line 115200 &
exit 0
