diff options
author | Raúl Porcel <armin76@gentoo.org> | 2011-01-28 19:03:06 +0000 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-01-30 18:04:17 +0100 |
commit | f3afa933d4776ae37b306409eee25f34b6b95d6c (patch) | |
tree | 20671db743abda143be329eb4a611224b00ccd29 | |
parent | Bump version to 3.4.12.3 (diff) | |
download | genkernel-f3afa933d4776ae37b306409eee25f34b6b95d6c.tar.gz genkernel-f3afa933d4776ae37b306409eee25f34b6b95d6c.tar.bz2 genkernel-f3afa933d4776ae37b306409eee25f34b6b95d6c.zip |
Enhance the handling of the console in the netboot linuxrc
-rwxr-xr-x | netboot/linuxrc.x | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index 8586ff69..dc4a9bf3 100755 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -14,6 +14,10 @@ BasicSetup() { CPYYEAR="$(echo ${MYDATE} | cut -c 1-4)" BBDATE="$(echo ${MYDATE} | cut -c 5-8)$(echo ${MYDATE} | cut -c 1-4)" DISDATE="$(echo ${MYDATE} | cut -c 7-8) $(echo ${MYDATE} | cut -c 5-6) $(echo ${MYDATE} | cut -c 1-4)" + + . /etc/initrd.defaults + # Clean input/output + exec >${CONSOLE} <${CONSOLE} 2>&1 } #//-------------------------------------------------------------------------------- |