Put /dev/ttyS1 into raw mode in ex/makevm
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jul 2015 15:45:21 +0000 (18:45 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jul 2015 15:45:21 +0000 (18:45 +0300)
ex/makevm

index efc3a21538e99453739ca6745ccf4fd1ce1aeffb..aa57f604f0d3225e364db71668f4f09dfab95c1b 100755 (executable)
--- a/ex/makevm
+++ b/ex/makevm
@@ -10,7 +10,7 @@ mount -t ramfs ramfs /tmp
 mount -t proc proc /proc
 mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
 echo ':jar:M::PK\x03\x04::/usr/bin/jexec:' > /proc/sys/fs/binfmt_misc/register
 mount -t proc proc /proc
 mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
 echo ':jar:M::PK\x03\x04::/usr/bin/jexec:' > /proc/sys/fs/binfmt_misc/register
-[ -e /dev/ttyS1 ] && stty -F /dev/ttyS1 -echo
+[ -e /dev/ttyS1 ] && stty -F /dev/ttyS1 raw -echo
 cd /mnt
 export PS1="# "
 EOF
 cd /mnt
 export PS1="# "
 EOF
This page took 0.010146 seconds and 4 git commands to generate.