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