aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-12-16 13:09:56 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2008-12-16 13:09:56 -0600
commitea9828ab17438995df729d59b778dbdce9e7a7ee (patch)
tree611f52f4b482cfcd4f5954b294bd9733142f7bfd /netboot
parentExplicitly set /bin/ashlogin +x during boot (diff)
downloadgenkernel-ea9828ab17438995df729d59b778dbdce9e7a7ee.tar.gz
genkernel-ea9828ab17438995df729d59b778dbdce9e7a7ee.tar.bz2
genkernel-ea9828ab17438995df729d59b778dbdce9e7a7ee.zip
Run the getty commands with proper arguments so they don't die immediately
Diffstat (limited to 'netboot')
-rwxr-xr-xnetboot/linuxrc.x12
1 files changed, 4 insertions, 8 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index b90fd25..674cde3 100755
--- a/netboot/linuxrc.x
+++ b/netboot/linuxrc.x
@@ -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
}
#//--------------------------------------------------------------------------------