diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2008-12-16 12:26:12 -0600 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2008-12-16 12:26:12 -0600 |
commit | a66f35da76fb7948bcf2a23fceed19cabb6b4675 (patch) | |
tree | db55fe054b3b1e2ff2a8dfe39929a26d3d627b2f /netboot | |
parent | Adding a BUGS file, where we can list bugs that we have found in genkernel th... (diff) | |
download | genkernel-a66f35da76fb7948bcf2a23fceed19cabb6b4675.tar.gz genkernel-a66f35da76fb7948bcf2a23fceed19cabb6b4675.tar.bz2 genkernel-a66f35da76fb7948bcf2a23fceed19cabb6b4675.zip |
Use getty to launch ash, so that we can use ^C and friends
Diffstat (limited to 'netboot')
-rwxr-xr-x | netboot/linuxrc.x | 5 | ||||
-rwxr-xr-x | netboot/misc/bin/ashlogin | 4 |
2 files changed, 8 insertions, 1 deletions
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 + |