Enhance the handling of the console in the netboot linuxrc

cleanup-cruft
Raúl Porcel 14 years ago committed by Sebastian Pipping
parent 8b3848e030
commit f3afa933d4

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

Loading…
Cancel
Save