From: deraadt Date: Wed, 24 Apr 1996 12:43:24 +0000 (+0000) Subject: start ypserv & rpc.yppasswdd automatically X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2d5ee5bce6f5e18000e8347b45274fc5727234bf;p=openbsd start ypserv & rpc.yppasswdd automatically --- diff --git a/etc/rc b/etc/rc index 46bd7941cde..335dbe9f771 100644 --- a/etc/rc +++ b/etc/rc @@ -93,6 +93,14 @@ rm -f /var/spool/uucp/STST/* echo -n 'starting rpc daemons:' echo -n ' portmap'; portmap +if [ -d /var/yp/`domainname`]; then + echo -n 'ypserv'; ypserv -d + #echo -n 'ypxfrd'; ypxfrd + if [ `ypwhich -m passwd` = `hostname`]; then + echo -n 'rpc.yppasswdd'; rpc.yppasswdd + fi +fi + if [ -f /usr/sbin/ypbind -a -d /var/yp ]; then echo -n ' ypbind'; ypbind fi