aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-12-24 10:19:12 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2008-12-24 10:19:12 -0600
commit8a5f66f65a6414fcf0077aa4ecf60f1a8050dd0b (patch)
treedd27276771e68ed0680c6a53c5ed634b7b7be742 /netboot
parentAllow old 'initramfs' option instead of 'ramdisk' for compatability (diff)
downloadgenkernel-8a5f66f65a6414fcf0077aa4ecf60f1a8050dd0b.tar.gz
genkernel-8a5f66f65a6414fcf0077aa4ecf60f1a8050dd0b.tar.bz2
genkernel-8a5f66f65a6414fcf0077aa4ecf60f1a8050dd0b.zip
Revert to just running /bin/bash on /dev/console for serial. We still start getty on tty2-6
Diffstat (limited to 'netboot')
-rwxr-xr-xnetboot/linuxrc.x9
1 files changed, 7 insertions, 2 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 674cde30..8586ff69 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
}
#//--------------------------------------------------------------------------------