projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3848e
)
Enhance the handling of the console in the netboot linuxrc
author
Raúl Porcel
<armin76@gentoo.org>
Fri, 28 Jan 2011 19:03:06 +0000
(19:03 +0000)
committer
Sebastian Pipping
<sebastian@pipping.org>
Sun, 30 Jan 2011 17:04:17 +0000
(18:04 +0100)
netboot/linuxrc.x
patch
|
blob
|
history
diff --git
a/netboot/linuxrc.x
b/netboot/linuxrc.x
index 8586ff691b35ae3a73926e5eb9b7d1ed95b4b02e..dc4a9bf34099aad6101a2242fc5e67430ec39db3 100755
(executable)
--- 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
}
#//--------------------------------------------------------------------------------