summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-11-06 22:55:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-11-06 22:55:29 +0000
commitd2d0d683581901c3e15080e6a4c3ed6640430b28 (patch)
tree574f37b81343dcb495d77a7e56255933f1e30762
parent32ccb9f9f453651f661017860b6392e3d956fb77 (diff)
Correct and shorten the instructions what to do after accidentally
deleting the ypservers.db file, both in the manual and in the FAQ; original suggestion to improve this from ajacoutot@, my wording tweaked by jmc@. While here, resolve text duplication in the manual.
-rw-r--r--usr.sbin/ypserv/ypinit/ypinit.819
1 files changed, 7 insertions, 12 deletions
diff --git a/usr.sbin/ypserv/ypinit/ypinit.8 b/usr.sbin/ypserv/ypinit/ypinit.8
index bc538daf908..026cb1deb1c 100644
--- a/usr.sbin/ypserv/ypinit/ypinit.8
+++ b/usr.sbin/ypserv/ypinit/ypinit.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ypinit.8,v 1.14 2008/10/22 20:31:20 jmc Exp $
+.\" $OpenBSD: ypinit.8,v 1.15 2009/11/06 22:55:28 schwarze Exp $
.\"
.\" Copyright (c) 1997 Mats O Jansson <moj@stacken.kth.se>
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 22 2008 $
+.Dd $Mdocdate: November 6 2009 $
.Dt YPINIT 8
.Os
.Sh NAME
@@ -40,26 +40,21 @@
.Sh DESCRIPTION
.Nm
may be used to set up a YP server, or to change the ypserver map.
+If
+.Ar domainname
+is not given, the default domainname will be used.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl m Op Ar domainname
Set up a master YP server.
-If
-.Ar domainname
-is not given the default domainname will be used.
.It Fl s Ar master_server Op Ar domainname
Set up a slave YP server.
-If
-.Ar domainname
-is not given the default domainname will be used.
.Ar master_server
must be a running YP master server.
.It Fl u Op Ar domainname
-Update the ypserver map on a YP master server.
-If
-.Ar domainname
-is not given the default domainname will be used.
+Update the ypserver map on a YP master server,
+or create a new one if the old one has been deleted.
.El
.Sh SEE ALSO
.Xr domainname 1 ,