=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc.conf,v retrieving revision 1.162 retrieving revision 1.163 diff -u -r1.162 -r1.163 --- src/etc/rc.conf 2011/09/20 15:47:25 1.162 +++ src/etc/rc.conf 2011/10/07 05:54:48 1.163 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.162 2011/09/20 15:47:25 ajacoutot Exp $ +# $OpenBSD: rc.conf,v 1.163 2011/10/07 05:54:48 ajacoutot Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags ldpd_flags=NO # for normal use: "" @@ -96,6 +96,7 @@ # miscellaneous other flags savecore_flags= # "-z" to compress +ypbind_flags=NO # for normal use: "" ypserv_flags=NO # add more flags, eg. -1 for YP v1, -d for DNS etc ypldap_flags=NO # for normal use: "" yppasswdd_flags=NO # "-d /etc/yp" if passwd files are in /etc/yp @@ -121,7 +122,7 @@ unset inetd_flags rwhod_flags portmap_flags kdc_flags kadmind_flags unset kpasswdd_flags btd_flags nfsd_flags mountd_flags lockd_flags -unset statd_flags amd_flags +unset statd_flags amd_flags ypbind_flags [ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line @@ -150,3 +151,4 @@ : ${lockd_flags=$([ X"${lockd-NO}" = XYES ] || echo NO)} : ${statd_flags=$([ X"${lockd-NO}" = XYES ] || echo NO)} : ${amd_flags=$([ X"${amd-NO}" = XYES ] || echo NO)} +: ${ypbind_flags=$([ X"`domainname`" != X"" -a -d /var/yp/binding ] || echo NO)}