From 2d5ee5bce6f5e18000e8347b45274fc5727234bf Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 24 Apr 1996 12:43:24 +0000 Subject: [PATCH] start ypserv & rpc.yppasswdd automatically --- etc/rc | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.20.1