diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-26 16:06:16 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-26 16:06:16 +0100 |
commit | ffd81f2003deaf3471e1da818735df91841399c4 (patch) | |
tree | d490d8708e5a7073fa11901098be14408701cf98 | |
parent | cf9d33a894230479b317ccee120342e3a32c836c (diff) | |
download | busybox-w32-ffd81f2003deaf3471e1da818735df91841399c4.tar.gz busybox-w32-ffd81f2003deaf3471e1da818735df91841399c4.tar.bz2 busybox-w32-ffd81f2003deaf3471e1da818735df91841399c4.zip |
getty: do clear CLOCAL and CRTSCTS unless told otherwise
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | loginutils/getty.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 3cf296ed1..f158a264c 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -279,10 +279,6 @@ static void termios_init(int speed) | |||
279 | #ifdef CIBAUD | 279 | #ifdef CIBAUD |
280 | | CIBAUD /* input baud rate */ | 280 | | CIBAUD /* input baud rate */ |
281 | #endif | 281 | #endif |
282 | #ifdef CRTSCTS | ||
283 | | CRTSCTS /* flow control using RTS/CTS pins */ | ||
284 | #endif | ||
285 | | CLOCAL | ||
286 | ); | 282 | ); |
287 | /* Set: 8 bits; hang up (drop DTR) on last close; enable receive */ | 283 | /* Set: 8 bits; hang up (drop DTR) on last close; enable receive */ |
288 | G.termios.c_cflag |= CS8 | HUPCL | CREAD; | 284 | G.termios.c_cflag |= CS8 | HUPCL | CREAD; |