summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-11 17:20:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-11 17:20:10 +0000
commit67a7c27940af467fe265a8019251128549d83b38 (patch)
tree03cd9df1c86305acfc7aa20c4519766a2c478aa1 /etc
parentaa544d6a4190470deb48068a3e0c39be9e2afceb (diff)
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index ef6a1f16285..677d9fc68fc 100644
--- a/etc/rc
+++ b/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