summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko2011-01-26 16:06:16 +0100
committerDenys Vlasenko2011-01-26 16:06:16 +0100
commitffd81f2003deaf3471e1da818735df91841399c4 (patch)
treed490d8708e5a7073fa11901098be14408701cf98 /loginutils
parentcf9d33a894230479b317ccee120342e3a32c836c (diff)
downloadbusybox-ffd81f2003deaf3471e1da818735df91841399c4.zip
busybox-ffd81f2003deaf3471e1da818735df91841399c4.tar.gz
getty: do clear CLOCAL and CRTSCTS unless told otherwise
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-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;