Explicitly set /bin/ashlogin +x during boot

cleanup-cruft
Andrew Gaffney 16 years ago
parent 0750197e45
commit 2c6ad1268e

@ -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:
Explicitly set /bin/ashlogin +x during boot
16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x:
Run getty for tty1 in the foreground

@ -109,6 +109,7 @@ StartUp() {
#// Misc tasks
chmod +x /bin/net-setup
chmod +x /bin/ashlogin
fi
}
@ -307,11 +308,11 @@ LaunchShell() {
# /bin/ash
for i in 2 3 4; do
getty -n -l /bin/ashlogin tty${i} linux &
getty -n -l /bin/ashlogin tty${i} &
done
# Run this one in the foreground, so that our pid 1 doesn't exit
getty -n -l /bin/ashlogin tty1 linux
getty -n -l /bin/ashlogin tty1
}
#//--------------------------------------------------------------------------------

Loading…
Cancel
Save