From: Andrew Gaffney Date: Tue, 16 Dec 2008 18:26:12 +0000 (-0600) Subject: Use getty to launch ash, so that we can use ^C and friends X-Git-Tag: v3.4.10.903~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a66f35da76fb7948bcf2a23fceed19cabb6b4675;p=genkernel.git Use getty to launch ash, so that we can use ^C and friends --- diff --git a/ChangeLog b/ChangeLog index e0bba12..6289f92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Distributed under the GPL v2 + 16 Dec 2008; Andrew Gaffney netboot/linuxrc.x, + +netboot/misc/bin/ashlogin: + Use getty to launch ash, so that we can use ^C and friends + 16 Dec 2008; Chris Gianelloni +BUGS: Adding a BUGS file, where we can list bugs that we have found in genkernel that need to be resolved. diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index e982202..e1537d7 100755 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -304,7 +304,10 @@ LaunchShell() { #// All Done! echo -e "" - /bin/ash +# /bin/ash + for i in 1 2 3 4; do + getty -n -l /bin/ashlogin tty${i} linux & + done } #//-------------------------------------------------------------------------------- diff --git a/netboot/misc/bin/ashlogin b/netboot/misc/bin/ashlogin new file mode 100755 index 0000000..67daded --- /dev/null +++ b/netboot/misc/bin/ashlogin @@ -0,0 +1,4 @@ +#!/bin/ash + +exec /bin/ash -i +