From 6cc61e209770045cd513b092237ba58f10c629c6 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 27 Jul 2022 23:06:50 +0000 Subject: [PATCH] Place ypldap with ypserv, inside the $domainname check, since it also has the same requirement. --- etc/rc | 6 +++--- 1 file 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 '.' -- 2.20.1