From 2c6ad1268ebde55afa52b7c028b759f0a40502f6 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Tue, 16 Dec 2008 12:43:06 -0600 Subject: [PATCH] Explicitly set /bin/ashlogin +x during boot --- ChangeLog | 3 +++ netboot/linuxrc.x | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 } #//-------------------------------------------------------------------------------- -- 2.26.2