diff options
author | 2004-07-23 17:27:39 +0000 | |
---|---|---|
committer | 2004-07-23 17:27:39 +0000 | |
commit | 34449cf97225d5a445e44d61f3cec0171f131a3e (patch) | |
tree | 4c4e6769070112fa69ad7add977e7e5674533655 | |
parent | Move luna88k and mvme88k vm_machdep to m88k-agnostic code area. (diff) | |
download | wireguard-openbsd-34449cf97225d5a445e44d61f3cec0171f131a3e.tar.xz wireguard-openbsd-34449cf97225d5a445e44d61f3cec0171f131a3e.zip |
add a manpage for /etc/defaultdomain
help and ok jmc, miod, millert, and others
-rw-r--r-- | bin/domainname/domainname.1 | 6 | ||||
-rw-r--r-- | share/man/man5/Makefile | 15 | ||||
-rw-r--r-- | share/man/man5/defaultdomain.5 | 33 | ||||
-rw-r--r-- | share/man/man8/afterboot.8 | 6 | ||||
-rw-r--r-- | share/man/man8/netstart.8 | 5 | ||||
-rw-r--r-- | share/man/man8/yp.8 | 3 |
6 files changed, 55 insertions, 13 deletions
diff --git a/bin/domainname/domainname.1 b/bin/domainname/domainname.1 index 901611b9d63..5177f37d78d 100644 --- a/bin/domainname/domainname.1 +++ b/bin/domainname/domainname.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: domainname.1,v 1.14 2003/06/02 23:32:07 millert Exp $ +.\" $OpenBSD: domainname.1,v 1.15 2004/07/23 17:27:39 jaredy Exp $ .\" $NetBSD: domainname.1,v 1.7 1995/07/25 19:36:57 jtc Exp $ .\" .\" Copyright (c) 1983, 1988, 1990, 1993 @@ -45,7 +45,8 @@ The utility prints the YP domain name of the current host. The superuser can set the domain name by supplying a .Pa /etc/defaultdomain -file. +file (see +.Xr defaultdomain 5 ) . This is used at system boot time by .Xr netstart 8 to initialize the domainname. @@ -53,6 +54,7 @@ to initialize the domainname. .Xr hostname 1 , .Xr getdomainname 3 , .Xr setdomainname 3 , +.Xr defaultdomain 5 , .Xr netstart 8 .Sh HISTORY The diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile index 955ef94c9eb..fb8fbe74569 100644 --- a/share/man/man5/Makefile +++ b/share/man/man5/Makefile @@ -1,15 +1,16 @@ -# $OpenBSD: Makefile,v 1.36 2004/07/13 21:09:48 millert Exp $ +# $OpenBSD: Makefile,v 1.37 2004/07/23 17:27:39 jaredy Exp $ # $NetBSD: Makefile,v 1.14 1995/05/11 23:13:15 cgd Exp $ # missing: dump.5 plot.5 MAN= a.out.5 acct.5 bsd.port.mk.5 bsd.regress.mk.5 changelist.5 core.5 \ - dir.5 disktab.5 elf.5 ethers.5 fbtab.5 files.conf.5 forward.5 fs.5 \ - fstab.5 genassym.cf.5 group.5 hostname.if.5 hosts.equiv.5 hosts.5 \ - intro.5 link.5 login.conf.5 mk.conf.5 moduli.5 motd.5 myname.5 \ - netgroup.5 networks.5 passwd.5 pf.conf.5 pf.os.5 phones.5 printcap.5 \ - protocols.5 remote.5 resolv.conf.5 rpc.5 services.5 shells.5 stab.5 \ - spamd.conf.5 sysctl.conf.5 types.5 utmp.5 wsconsctl.conf.5 + defaultdomain.5 dir.5 disktab.5 elf.5 ethers.5 fbtab.5 files.conf.5 \ + forward.5 fs.5 fstab.5 genassym.cf.5 group.5 hostname.if.5 \ + hosts.equiv.5 hosts.5 intro.5 link.5 login.conf.5 mk.conf.5 moduli.5 \ + motd.5 myname.5 netgroup.5 networks.5 passwd.5 pf.conf.5 pf.os.5 \ + phones.5 printcap.5 protocols.5 remote.5 resolv.conf.5 rpc.5 \ + services.5 shells.5 stab.5 spamd.conf.5 sysctl.conf.5 types.5 utmp.5 \ + wsconsctl.conf.5 MLINKS= dir.5 dirent.5 fs.5 inode.5 utmp.5 wtmp.5 utmp.5 lastlog.5 MLINKS+= hosts.equiv.5 .rhosts.5 MLINKS+= resolv.conf.5 resolver.5 diff --git a/share/man/man5/defaultdomain.5 b/share/man/man5/defaultdomain.5 new file mode 100644 index 00000000000..9db09100622 --- /dev/null +++ b/share/man/man5/defaultdomain.5 @@ -0,0 +1,33 @@ +.\" $OpenBSD: defaultdomain.5,v 1.1 2004/07/23 17:27:39 jaredy Exp $ +.\" Written by Jared Yanovich +.\" This file belongs to the public domain. +.Dd July 23, 2004 +.Dt DEFAULTDOMAIN 5 +.Os +.Sh NAME +.Nm defaultdomain +.Nd default YP domain name +.Sh SYNOPSIS +.Nm /etc/defaultdomain +.Sh DESCRIPTION +The +.Nm +file is read by +.Xr netstart 8 +at system startup time. +It is used to set the YP domain name of the host machine (see +.Xr yp 8 ) . +.Pp +This file should contain one line consisting of the system domain name, as +supplied to +.Xr domainname 1 . +It may not contain comments. +.Sh FILES +.Bl -tag -width "/etc/defaultdomain" -compact +.It Pa /etc/defaultdomain +default domain name +.El +.Sh SEE ALSO +.Xr domainname 1 , +.Xr netstart 8 , +.Xr yp 8 diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 9d71775f69a..50907acbcda 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.96 2004/07/21 13:48:25 jaredy Exp $ +.\" $OpenBSD: afterboot.8,v 1.97 2004/07/23 17:27:40 jaredy Exp $ .\" .\" Copyright (c) 1997 Marshall M. Midden .\" All rights reserved. @@ -302,7 +302,8 @@ Check the YP domain name with the command. If necessary, correct it by editing the .Pa /etc/defaultdomain -file. +file (see +.Xr defaultdomain 5 ) . The .Pa /etc/netstart script reads this file on bootup to determine and set the domain name. @@ -865,6 +866,7 @@ boot time in the kernel image. .Xr ccd 4 , .Xr aliases 5 , .Xr crontab 5 , +.Xr defaultdomain 5 , .Xr dhcpd.conf 5 , .Xr exports 5 , .Xr fbtab 5 , diff --git a/share/man/man8/netstart.8 b/share/man/man8/netstart.8 index 2d6c24d9f39..eafe808d7c1 100644 --- a/share/man/man8/netstart.8 +++ b/share/man/man8/netstart.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstart.8,v 1.8 2004/02/13 23:45:46 miod Exp $ +.\" $OpenBSD: netstart.8,v 1.9 2004/07/23 17:27:40 jaredy Exp $ .\" .\" Copyright (c) 2002, Miodrag Vallat. .\" All rights reserved. @@ -133,7 +133,10 @@ enabled. .Xr gif 4 , .Xr gre 4 , .Xr bridgename.if 5 , +.Xr defaultdomain 5 , .Xr hostname.if 5 , +.Xr mygate 5 , +.Xr myname 5 , .Xr dhcp 8 , .Xr mrouted 8 , .Xr rc 8 , diff --git a/share/man/man8/yp.8 b/share/man/man8/yp.8 index 1827e9d4203..3f0b70de97f 100644 --- a/share/man/man8/yp.8 +++ b/share/man/man8/yp.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: yp.8,v 1.20 2003/06/15 02:00:55 avsm Exp $ +.\" $OpenBSD: yp.8,v 1.21 2004/07/23 17:27:40 jaredy Exp $ .\" $NetBSD: yp.8,v 1.9 1995/08/11 01:16:52 thorpej Exp $ .\" .\" Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com> @@ -200,6 +200,7 @@ YP maps Makefile .Xr ypmatch 1 , .Xr ypwhich 1 , .Xr ypclnt 3 , +.Xr defaultdomain 5 , .Xr group 5 , .Xr passwd 5 , .Xr rpc.yppasswdd 8 , |