diff --git a/ChangeLog b/ChangeLog index 6289f92..74eaa20 100644 --- 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 netboot/linuxrc.x: + Run getty for tty1 in the foreground + 16 Dec 2008; Andrew Gaffney netboot/linuxrc.x, +netboot/misc/bin/ashlogin: Use getty to launch ash, so that we can use ^C and friends diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index e1537d7..3ac8498 100755 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -305,9 +305,13 @@ LaunchShell() { #// All Done! echo -e "" # /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 & done + + # Run this one in the foreground, so that our pid 1 doesn't exit + getty -n -l /bin/ashlogin tty1 linux } #//--------------------------------------------------------------------------------