summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-01-26 15:06:16 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-01-26 15:06:16 (GMT)
commitffd81f2003deaf3471e1da818735df91841399c4 (patch)
treed490d8708e5a7073fa11901098be14408701cf98
parentcf9d33a894230479b317ccee120342e3a32c836c (diff)
downloadbusybox-ffd81f2003deaf3471e1da818735df91841399c4.tar.gz
busybox-ffd81f2003deaf3471e1da818735df91841399c4.tar.bz2
getty: do clear CLOCAL and CRTSCTS unless told otherwise
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--loginutils/getty.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 3cf296e..f158a26 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -279,10 +279,6 @@ static void termios_init(int speed)
#ifdef CIBAUD
| CIBAUD /* input baud rate */
#endif
-#ifdef CRTSCTS
- | CRTSCTS /* flow control using RTS/CTS pins */
-#endif
- | CLOCAL
);
/* Set: 8 bits; hang up (drop DTR) on last close; enable receive */
G.termios.c_cflag |= CS8 | HUPCL | CREAD;