Use getty to launch ash, so that we can use ^C and friends

cleanup-cruft
Andrew Gaffney 16 years ago
parent 69aed59272
commit a66f35da76

@ -2,6 +2,10 @@
# 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,
+netboot/misc/bin/ashlogin:
Use getty to launch ash, so that we can use ^C and friends
16 Dec 2008; Chris Gianelloni <wolf31o2@wolf31o2.org> +BUGS:
Adding a BUGS file, where we can list bugs that we have found in genkernel
that need to be resolved.

@ -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
}
#//--------------------------------------------------------------------------------

@ -0,0 +1,4 @@
#!/bin/ash
exec /bin/ash -i
Loading…
Cancel
Save