]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-cread.patch
- patch fixes problems with serial 5.05 (enables CREAD on serial console)
[packages/SysVinit.git] / sysvinit-cread.patch
1 diff -ur sysvinit-2.78/src/init.c sysvinit-2.78-/src/init.c
2 --- sysvinit-2.78/src/init.c    Wed Jun 13 14:24:54 2001
3 +++ sysvinit-2.78-/src/init.c   Wed Jun 13 14:24:11 2001
4 @@ -690,7 +690,7 @@
5                 (void) tcgetattr(fd, &tty);
6  
7                 tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
8 -               tty.c_cflag |= HUPCL|CLOCAL;
9 +               tty.c_cflag |= HUPCL|CLOCAL|CREAD;
10  
11                 tty.c_cc[VINTR]  = 3;   /* ctrl('c') */
12                 tty.c_cc[VQUIT]  = 28;  /* ctrl('\\') */
This page took 0.032446 seconds and 3 git commands to generate.