diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-04-23 08:26:50 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-04-23 08:26:50 +0000 |
commit | e42e586ab2472f8243ec162166258ea136f30ce7 (patch) | |
tree | 721c09617bf0a8d021ee1c1a55418b19fd1d75a3 | |
parent | fb16fb2f87bb52d8ed95108ddac6934bfc1e3c14 (diff) | |
download | FreeBSD-src-e42e586ab2472f8243ec162166258ea136f30ce7.zip FreeBSD-src-e42e586ab2472f8243ec162166258ea136f30ce7.tar.gz |
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
-rw-r--r-- | etc/rc.d/serial | 2 | ||||
-rw-r--r-- | etc/rc.serial | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/serial b/etc/rc.d/serial index 2599d31..13edd2a 100644 --- a/etc/rc.d/serial +++ b/etc/rc.d/serial @@ -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 diff --git a/etc/rc.serial b/etc/rc.serial index 2599d31..13edd2a 100644 --- a/etc/rc.serial +++ b/etc/rc.serial @@ -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 |