* Don't echo characters on /dev/hvc0, otherwise the stdout of commands

gets screwed up.

svn path=/nixos/trunk/; revision=26422
This commit is contained in:
Eelco Dolstra 2011-03-18 13:16:40 +00:00
parent be0fca5781
commit ef07a945c4

View File

@ -36,7 +36,7 @@ in
cd /tmp
exec < /dev/hvc0 > /dev/hvc0 2> /dev/ttyS0
echo "connecting to host..." >&2
stty -F /dev/hvc0 raw # prevent nl -> cr/nl conversion
stty -F /dev/hvc0 raw -echo # prevent nl -> cr/nl conversion
${pkgs.socat}/bin/socat stdio exec:${rootShell}
'';