getty: do clear CLOCAL and CRTSCTS unless told otherwise
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jan 2011 15:06:16 +0000 (16:06 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jan 2011 15:06:16 +0000 (16:06 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/getty.c

index 3cf296ed19b32728d8d755ba0dab65378454631f..f158a264ceacebe1cb98c98b082e784453b4d6cd 100644 (file)
@@ -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;