From: Andrew Gaffney Date: Wed, 24 Dec 2008 16:19:12 +0000 (-0600) Subject: Revert to just running /bin/bash on /dev/console for serial. We still start getty... X-Git-Tag: v3.4.10.903~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a5f66f65a6414fcf0077aa4ecf60f1a8050dd0b;p=genkernel.git Revert to just running /bin/bash on /dev/console for serial. We still start getty on tty2-6 --- diff --git a/ChangeLog b/ChangeLog index 37e1483..1686d93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Distributed under the GPL v2 + 24 Dec 2008; Andrew Gaffney netboot/linuxrc.x: + Revert to just running /bin/bash on /dev/console for serial. We still + start getty on tty2-6 + 23 Dec 2008; Andrew Gaffney gen_cmdline.sh: Allow old 'initramfs' option instead of 'ramdisk' for compatability diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index 674cde3..8586ff6 100755 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -307,8 +307,13 @@ LaunchShell() { getty -n -l /bin/ashlogin 38400 tty${i} & done - # We run the getty for tty1 in the foreground so our pid 1 doesn't end - getty -n -l /bin/ashlogin 38400 tty1 +# # We run the getty for tty1 in the foreground so our pid 1 doesn't end +# getty -n -l /bin/ashlogin 38400 tty1 + + # We were running the above code, but that doesn't work well on serial. Until + # we can autodetect a serial console and start a getty there, we'll just run + # ash on /dev/console + /bin/ash } #//--------------------------------------------------------------------------------