From f3afa933d4776ae37b306409eee25f34b6b95d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Fri, 28 Jan 2011 19:03:06 +0000 Subject: [PATCH] Enhance the handling of the console in the netboot linuxrc --- netboot/linuxrc.x | 4 ++++ 1 file changed, 4 insertions(+) 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 } #//-------------------------------------------------------------------------------- -- 2.26.2