diff options
author | ache <ache@FreeBSD.org> | 1995-01-05 00:11:52 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-01-05 00:11:52 +0000 |
commit | 0bee6b5a11ccc4e0d6938dca1a93f1b64adb6564 (patch) | |
tree | 9dcdaffba73f9863968d362e50a23bd935c21bb2 /etc/rc.d | |
parent | a8479792d78867af62ffe3f93e9a4a0b7e12545a (diff) | |
download | FreeBSD-src-0bee6b5a11ccc4e0d6938dca1a93f1b64adb6564.zip FreeBSD-src-0bee6b5a11ccc4e0d6938dca1a93f1b64adb6564.tar.gz |
Add drainwait option examples
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/serial | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/serial b/etc/rc.d/serial index c2d11b5..12bb514 100644 --- a/etc/rc.d/serial +++ b/etc/rc.d/serial @@ -1,6 +1,6 @@ # Change some defauls for serial devices. # Standard defaults are: -# dtrwait 300 +# dtrwait 300 drainwait 0 # initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl # initial iflag, lflag and oflag all 0 # speed 9600 @@ -13,7 +13,7 @@ default() { # Reset everything changed by the other functions to initial defaults. for i in $* do - comcontrol /dev/ttyd$i dtrwait 300 + comcontrol /dev/ttyd$i dtrwait 300 drainwait 0 stty </dev/ttyid$i -clocal crtscts hupcl 9600 reprint ^R stty </dev/ttyld$i -clocal -crtscts -hupcl 0 stty </dev/cuaia$i -clocal crtscts hupcl 9600 reprint ^R @@ -41,7 +41,7 @@ modem() { # Modem that supports CTS and perhaps RTS handshaking. for i in $* do - comcontrol /dev/ttyd$i dtrwait 100 # may depend on modem + comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # may depend on modem # Lock crtscts on. # Speed reasonable for V42bis. stty </dev/ttyid$i crtscts 57600 |