From 4d8563d56442f0b85398e0de46ec26aa2372ab1e 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 --- src/etc/rc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/etc/rc b/src/etc/rc index 46bd7941..335dbe9f 100644 --- a/src/etc/rc +++ b/src/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