Run the getty commands with proper arguments so they don't die immediately
authorAndrew Gaffney <agaffney@gentoo.org>
Tue, 16 Dec 2008 19:09:56 +0000 (13:09 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Tue, 16 Dec 2008 19:09:56 +0000 (13:09 -0600)
ChangeLog
netboot/linuxrc.x

index c566c02832ca2c2be4bd679b9fc8022c9b48b8f0..0f3f09bb415771e8ac0e0c5f8cbd99ad04dc1022 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # 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:
   Explicitly set /bin/ashlogin +x during boot
 
index b90fd257cdddd2e8c01bec5e6941d3c107e69daf..674cde30beae2da20471cc923c6231fc09ef29ed 100755 (executable)
@@ -303,16 +303,12 @@ LaunchShell() {
        #// Completed Startup
        touch /tmp/.startup
 
-       #// All Done!
-       echo -e ""
-#      /bin/ash
-
-       for i in 2 3 4; do
-               getty -n -l /bin/ashlogin tty${i} &
+       for i in 2 3 4 5 6; do
+               getty -n -l /bin/ashlogin 38400 tty${i} &
        done
 
-       # Run this one in the foreground, so that our pid 1 doesn't exit
-       getty -n -l /bin/ashlogin tty1
+       # We run the getty for tty1 in the foreground so our pid 1 doesn't end
+       getty -n -l /bin/ashlogin 38400 tty1
 }
 
 #//--------------------------------------------------------------------------------