summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2011-01-28 19:03:06 +0000
committerSebastian Pipping <sebastian@pipping.org>2011-01-30 18:04:17 +0100
commitf3afa933d4776ae37b306409eee25f34b6b95d6c (patch)
tree20671db743abda143be329eb4a611224b00ccd29
parentBump version to 3.4.12.3 (diff)
downloadgenkernel-f3afa933d4776ae37b306409eee25f34b6b95d6c.tar.gz
genkernel-f3afa933d4776ae37b306409eee25f34b6b95d6c.tar.bz2
genkernel-f3afa933d4776ae37b306409eee25f34b6b95d6c.zip
Enhance the handling of the console in the netboot linuxrc
-rwxr-xr-xnetboot/linuxrc.x4
1 files changed, 4 insertions, 0 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 8586ff6..dc4a9bf 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
}
#//--------------------------------------------------------------------------------