Browse Source

ypserv, ypbind, then rpc.yppasswdd

OPENBSD_2_0
deraadt 28 years ago
parent
commit
9f015001d5
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      src/etc/rc

+ 5
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.20 1996/07/18 09:57:37 downsj Exp $
# $OpenBSD: rc,v 1.21 1996/07/25 22:04:46 deraadt Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -94,7 +94,11 @@ if [ -d /var/yp/binding ]; then
# yp server capabilities needed... # yp server capabilities needed...
echo -n ' ypserv'; ypserv -d echo -n ' ypserv'; ypserv -d
#echo -n ' ypxfrd'; ypxfrd #echo -n ' ypxfrd'; ypxfrd
fi
echo -n ' ypbind'; ypbind
if [ -d /var/yp/`domainname` ]; then
# if we are the master server, run rpc.yppasswdd # if we are the master server, run rpc.yppasswdd
_host1=`ypwhich -m passwd 2> /dev/null` _host1=`ypwhich -m passwd 2> /dev/null`
_host2=`hostname` _host2=`hostname`
@ -111,8 +115,6 @@ if [ -d /var/yp/binding ]; then
echo -n ' rpc.yppasswdd'; rpc.yppasswdd echo -n ' rpc.yppasswdd'; rpc.yppasswdd
fi fi
fi fi
echo -n ' ypbind'; ypbind
fi fi
# $nfs_server is imported from /etc/netstart; # $nfs_server is imported from /etc/netstart;


Loading…
Cancel
Save