#!/bin/sh # Open console for testing if [ -c /dev/$2 ] then /sbin/getty -L $1 $2 xterm -n -l /bin/bash fi