From: Andrew Gaffney Date: Tue, 16 Dec 2008 18:43:06 +0000 (-0600) Subject: Explicitly set /bin/ashlogin +x during boot X-Git-Tag: v3.4.10.903~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c6ad1268ebde55afa52b7c028b759f0a40502f6;p=genkernel.git Explicitly set /bin/ashlogin +x during boot --- diff --git a/ChangeLog b/ChangeLog index 74eaa20..c566c02 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: + Explicitly set /bin/ashlogin +x during boot + 16 Dec 2008; Andrew Gaffney netboot/linuxrc.x: Run getty for tty1 in the foreground diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index 3ac8498..b90fd25 100755 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -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 } #//--------------------------------------------------------------------------------