Correct default value of drainwait: it should be 300 seconds, not forever.

PR:		37370
Submitted by:	Daniel O'Connor <doconnor@gsoft.com.au>
MFC after:	2 weeks
This commit is contained in:
Maxim Sobolev 2002-04-23 08:26:50 +00:00
parent aca29625a8
commit c1deb99469
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ default() {
for i in $*
do
comcontrol /dev/tty${ci}${i} dtrwait 300 drainwait 0
comcontrol /dev/tty${ci}${i} dtrwait 300 drainwait 300
stty < /dev/ttyi${ci}${i} -clocal crtscts hupcl 9600 reprint ^R
stty < /dev/ttyl${ci}${i} -clocal -crtscts -hupcl 0
stty < /dev/cuai${co}${i} -clocal crtscts hupcl 9600 reprint ^R

View File

@ -46,7 +46,7 @@ default() {
for i in $*
do
comcontrol /dev/tty${ci}${i} dtrwait 300 drainwait 0
comcontrol /dev/tty${ci}${i} dtrwait 300 drainwait 300
stty < /dev/ttyi${ci}${i} -clocal crtscts hupcl 9600 reprint ^R
stty < /dev/ttyl${ci}${i} -clocal -crtscts -hupcl 0
stty < /dev/cuai${co}${i} -clocal crtscts hupcl 9600 reprint ^R