summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2017-02-17 16:46:17 +0000
committerajacoutot <ajacoutot@openbsd.org>2017-02-17 16:46:17 +0000
commit8d8a71b4ddab57ba221d57ad2ef6c004c0460cd8 (patch)
tree3b634c8d9f79408b4d9d59dd372215e3d08e97f8 /usr.sbin/ypbind
parentStop supporting the historical way of starting ypbind(8); that is setting (diff)
downloadwireguard-openbsd-8d8a71b4ddab57ba221d57ad2ef6c004c0460cd8.tar.xz
wireguard-openbsd-8d8a71b4ddab57ba221d57ad2ef6c004c0460cd8.zip
ypbind(8) is not started automatically at boot time by /etc/rc if domainname
is set and the directory var/yp/binding exists. ok deraadt@
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/ypbind.89
-rw-r--r--usr.sbin/ypbind/ypbind.c5
2 files changed, 3 insertions, 11 deletions
diff --git a/usr.sbin/ypbind/ypbind.8 b/usr.sbin/ypbind/ypbind.8
index 467f36373d0..2af496605ce 100644
--- a/usr.sbin/ypbind/ypbind.8
+++ b/usr.sbin/ypbind/ypbind.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ypbind.8,v 1.24 2014/09/08 01:27:56 schwarze Exp $
+.\" $OpenBSD: ypbind.8,v 1.25 2017/02/17 16:46:17 ajacoutot Exp $
.\" $NetBSD: ypbind.8,v 1.2 1996/02/28 01:21:00 thorpej Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 8 2014 $
+.Dd $Mdocdate: February 17 2017 $
.Dt YPBIND 8
.Os
.Sh NAME
@@ -107,11 +107,6 @@ is recommended.
The file should contain a list of valid YP server hostnames,
with one hostname per line.
The comment character is #.
-.Pp
-If the directory
-.Pa /var/yp/binding
-exists, YP is started automatically at boot time by
-.Pa /etc/rc .
.Sh FILES
.Pa /var/yp/binding/DOMAINNAME.version
- binding file for domainname
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index 518997409d2..34bb8f9a43a 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypbind.c,v 1.68 2016/07/08 19:32:26 millert Exp $ */
+/* $OpenBSD: ypbind.c,v 1.69 2017/02/17 16:46:17 ajacoutot Exp $ */
/*
* Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org>
@@ -375,9 +375,6 @@ main(int argc, char *argv[])
}
closedir(dirp);
} else {
- printf("Enabling yp client subsystem.\n");
- printf("To disable: kill ypbind and remove %s\n",
- BINDINGDIR);
(void)mkdir(BINDINGDIR, 0755);
}