summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2004-07-23 17:27:41 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2004-07-23 17:27:41 +0000
commit9acd6e3fbaced078abf76d7d96a963555317abb1 (patch)
tree53b9c5541a27ed770063d2ace63b704a86ed4350 /share
parent7ff28d354982afc106c70de48d1b77eed9e97b65 (diff)
add a manpage for /etc/defaultdomain
help and ok jmc, miod, millert, and others
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/Makefile15
-rw-r--r--share/man/man5/defaultdomain.533
-rw-r--r--share/man/man8/afterboot.86
-rw-r--r--share/man/man8/netstart.85
-rw-r--r--share/man/man8/yp.83
5 files changed, 51 insertions, 11 deletions
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 ,