# start text mode shell # # runlevels: textmode . /etc/profile TTY="1" echo "###########################################" echo "## it seems we are running in Text mode. ##" echo "## .... starting shell on console $TTY .... ##" echo "## ...... switch with ctrl-alt-f$TTY ...... ##" echo "###########################################" while true; do exec /sbin/getty -n -l /bin/bash 38400 tty$TTY done