diff options
author | 2005-10-10 19:23:06 +0000 | |
---|---|---|
committer | 2005-10-10 19:23:06 +0000 | |
commit | 29b7d847fbe6929a3b2da8fc16cbf03eb1c4e782 (patch) | |
tree | 943f355bc4f16cb21076ce8c2138bd5b391cf5a6 | |
parent | revert to 1.19 now until we are able to handle scc(4) on DEC 3000 (diff) | |
download | wireguard-openbsd-29b7d847fbe6929a3b2da8fc16cbf03eb1c4e782.tar.xz wireguard-openbsd-29b7d847fbe6929a3b2da8fc16cbf03eb1c4e782.zip |
Provide some verbiage about MDSERIAL. Suggested by miod@.
-rw-r--r-- | distrib/miniroot/install.sub | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 20f4aadc6e4..b6a6e038924 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.391 2005/10/05 02:07:27 krw Exp $ +# $OpenBSD: install.sub,v 1.392 2005/10/10 19:23:06 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2005 Todd Miller, Theo de Raadt, Ken Westerback @@ -76,6 +76,7 @@ # MDDKDEVS - '/^[sw]d[0-9][0-9]* /s/ .*//p' assumed if not provided # MDCDDEVS - '/^cd[0-9][0-9]* /s/ .*//p' assumed if not provided # MDMTDEVS - '/^[cmsw]t[0-9][0-9]* /s/ .*//p' +# MDSERIAL - offer to configure a serial console # MDXAPERTURE - set machdep.allowaperture=value in sysctl.conf . install.md @@ -179,6 +180,15 @@ get_ifdevs() { } # Get the first (lowest unit #) serial device if any, if MDSERIAL is set. +# +# MDSERIAL is of the form +# +# "<dmesg device prefix> <boot loader device prefix> <tty device prefix>" +# +# So "pccom com tty0" means the dmesg is searched for devices pccom0, pccom1, +# ... pccom9. If pccom2 is found, then com2 and tty02 are used in serial +# console configuration via boot.conf commands and /etc/ttys. +# # NOTE: Only single digit serial devices (<dev>0 -> <dev>9) are looked for. get_serialdev() { local _d _bd _td |