Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146487135
D52316.id161309.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
625 B
Referenced Files
None
Subscribers
None
D52316.id161309.diff
View Options
diff --git a/libexec/rc/rc.d/serial b/libexec/rc/rc.d/serial
--- a/libexec/rc/rc.d/serial
+++ b/libexec/rc/rc.d/serial
@@ -45,7 +45,7 @@
# Reset everything changed by the other functions to initial defaults.
dc=$1; shift # device name character
- drainwait=`sysctl -n kern.drainwait`
+ drainwait=`sysctl -n kern.tty_drainwait`
for i in $*
do
@@ -84,7 +84,7 @@
for i in $*
do
# may depend on modem
- comcontrol /dev/tty${dc}${i} dtrwait 100 drainwait 180
+ comcontrol /dev/tty${dc}${i} drainwait 180
# Lock crtscts on.
# Speed reasonable for V42bis.
stty < /dev/tty${dc}${i}.init crtscts 115200
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 4, 2:19 AM (6 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29222200
Default Alt Text
D52316.id161309.diff (625 B)
Attached To
Mode
D52316: rc.d/serial: Kill dtrwait
Attached
Detach File
Event Timeline
Log In to Comment