summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-27 23:06:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-27 23:06:51 +0000
commit7d4c88d8ce6f43fe98ecbd3c5674561d0527e4a1 (patch)
tree818634f628ab7aca00ecc8c4c079831129d850b4
parent9189562381d52154dd63e89f86a33968ef46da18 (diff)
Place ypldap with ypserv, inside the $domainname check, since it also
has the same requirement.
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 7d8021cc8d8..d5c4543e5c0 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.561 2022/07/17 03:17:37 deraadt Exp $
+# $OpenBSD: rc,v 1.562 2022/07/27 23:06:50 deraadt Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@@ -498,9 +498,9 @@ if [[ $ipsec != NO && -f /etc/ipsec.conf ]]; then
fi
echo -n 'starting RPC daemons:'
-start_daemon portmap ypldap
+start_daemon portmap
if [[ -n $(domainname) ]]; then
- start_daemon ypserv ypbind
+ start_daemon ypldap ypserv ypbind
fi
start_daemon mountd nfsd lockd statd amd
echo '.'