Files
Arch-R/packages/sysutils/bash/init.d/99_shell

18 lines
405 B
Plaintext
Raw Normal View History

# 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