* 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:
parent
be0fca5781
commit
ef07a945c4
|
@ -36,7 +36,7 @@ in
|
||||||
cd /tmp
|
cd /tmp
|
||||||
exec < /dev/hvc0 > /dev/hvc0 2> /dev/ttyS0
|
exec < /dev/hvc0 > /dev/hvc0 2> /dev/ttyS0
|
||||||
echo "connecting to host..." >&2
|
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}
|
${pkgs.socat}/bin/socat stdio exec:${rootShell}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue