From 61fad1001e82309909247f3f3db9bae51037dff5 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 11 Jul 2011 17:20:09 +0000 Subject: [PATCH] there is a usage case where ypldap can be used without the local domainname being set. adjust the scripts to start it in that way. discussed with pyr --- src/etc/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index ef6a1f16..677d9fc6 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.384 2011/07/09 01:30:27 halex Exp $ +# $OpenBSD: rc,v 1.385 2011/07/11 17:20:09 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -427,9 +427,9 @@ fi echo -n 'starting RPC daemons:' start_daemon portmap if [ X"`domainname`" != X"" ]; then - start_daemon ypserv ypldap ypbind yppasswdd + start_daemon ypserv ypbind yppasswdd fi -start_daemon mountd nfsd lockd statd amd +start_daemon ypldap mountd nfsd lockd statd amd echo '.' mount -a