From: deraadt Date: Wed, 27 Jul 2022 23:06:50 +0000 (+0000) Subject: Place ypldap with ypserv, inside the $domainname check, since it also X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6cc61e209770045cd513b092237ba58f10c629c6;p=openbsd Place ypldap with ypserv, inside the $domainname check, since it also has the same requirement. --- 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 '.'