diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-24 12:43:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-24 12:43:25 +0000 |
commit | 30269ca4d783a32b9faf72006574a37a9d748c29 (patch) | |
tree | a2109f5077593005fc7bcbdc32397a89320682a1 | |
parent | aa682e7654a1563acbe9be365253553eb482ce82 (diff) |
start ypserv & rpc.yppasswdd automatically
-rw-r--r-- | etc/rc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |