Run the getty commands with proper arguments so they don't die immediately

cleanup-cruft
Andrew Gaffney 16 years ago
parent 2c6ad1268e
commit ea9828ab17

@ -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 the getty commands with proper arguments so they don't die immediately
16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x: 16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x:
Explicitly set /bin/ashlogin +x during boot Explicitly set /bin/ashlogin +x during boot

@ -303,16 +303,12 @@ LaunchShell() {
#// Completed Startup #// Completed Startup
touch /tmp/.startup touch /tmp/.startup
#// All Done! for i in 2 3 4 5 6; do
echo -e "" getty -n -l /bin/ashlogin 38400 tty${i} &
# /bin/ash
for i in 2 3 4; do
getty -n -l /bin/ashlogin tty${i} &
done done
# Run this one in the foreground, so that our pid 1 doesn't exit # We run the getty for tty1 in the foreground so our pid 1 doesn't end
getty -n -l /bin/ashlogin tty1 getty -n -l /bin/ashlogin 38400 tty1
} }
#//-------------------------------------------------------------------------------- #//--------------------------------------------------------------------------------

Loading…
Cancel
Save