From: Raúl Porcel Date: Fri, 28 Jan 2011 19:03:06 +0000 (+0000) Subject: Enhance the handling of the console in the netboot linuxrc X-Git-Tag: v3.4.12.4~3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f3afa933d4776ae37b306409eee25f34b6b95d6c;p=genkernel.git Enhance the handling of the console in the netboot linuxrc --- 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 } #//--------------------------------------------------------------------------------