Run getty for tty1 in the foreground

cleanup-cruft
Andrew Gaffney 16 years ago
parent a66f35da76
commit 0750197e45

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2 # Distributed under the GPL v2
16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x:
Run getty for tty1 in the foreground
16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x, 16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x,
+netboot/misc/bin/ashlogin: +netboot/misc/bin/ashlogin:
Use getty to launch ash, so that we can use ^C and friends Use getty to launch ash, so that we can use ^C and friends

@ -305,9 +305,13 @@ LaunchShell() {
#// All Done! #// All Done!
echo -e "" echo -e ""
# /bin/ash # /bin/ash
for i in 1 2 3 4; do
for i in 2 3 4; do
getty -n -l /bin/ashlogin tty${i} linux & getty -n -l /bin/ashlogin tty${i} linux &
done done
# Run this one in the foreground, so that our pid 1 doesn't exit
getty -n -l /bin/ashlogin tty1 linux
} }
#//-------------------------------------------------------------------------------- #//--------------------------------------------------------------------------------

Loading…
Cancel
Save