aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-08-17 17:14:52 +0000
committerEd Maste <emaste@FreeBSD.org>2023-08-17 17:31:38 +0000
commit4722ceb7d53e76507c76e053caab6b6f7b24ecef (patch)
tree714f8326fde0e680b603fa8f079a005e2f9da258 /libexec
parent5f72ceb2c50d4fa316d26c51849baa200a38c1d8 (diff)
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/rc/rc.d/serial6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rc/rc.d/serial b/libexec/rc/rc.d/serial
index 43162452b4e1..ea60c8aa77da 100755
--- a/libexec/rc/rc.d/serial
+++ b/libexec/rc/rc.d/serial
@@ -35,7 +35,7 @@
# dtrwait 300 drainwait `sysctl -n kern.drainwait`
# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl
# initial iflag, lflag and oflag all 0
-# speed 9600
+# speed 115200
# special chars from <sys/ttydefaults.h>
# nothing locked
# except for serial consoles the initial iflag, lflag and oflag are from
@@ -50,9 +50,9 @@ default() {
for i in $*
do
comcontrol /dev/tty${dc}${i} dtrwait 300 drainwait $drainwait
- stty < /dev/tty${dc}${i}.init -clocal crtscts hupcl 9600 reprint ^R
+ stty < /dev/tty${dc}${i}.init -clocal crtscts hupcl 115200 reprint ^R
stty < /dev/tty${dc}${i}.lock -clocal -crtscts -hupcl 0
- stty < /dev/cua${dc}${i}.init -clocal crtscts hupcl 9600 reprint ^R
+ stty < /dev/cua${dc}${i}.init -clocal crtscts hupcl 115200 reprint ^R
stty < /dev/cua${dc}${i}.lock -clocal -crtscts -hupcl 0
done
}