summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-25 22:04:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-25 22:04:47 +0000
commit0f84cac9333937e390fb114c9731f8b4c970b7c4 (patch)
tree73112aa292cd87ff5b17f864ae05180486edbe40 /etc/rc
parenta8502ef1372bb49ac6e9a75e39778c42abbb1daf (diff)
ypserv, ypbind, then rpc.yppasswdd
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index c3ae421305f..5b233f0b75f 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
# or after single-user.
@@ -94,7 +94,11 @@ if [ -d /var/yp/binding ]; then
# yp server capabilities needed...
echo -n ' ypserv'; ypserv -d
#echo -n ' ypxfrd'; ypxfrd
+ fi
+
+ echo -n ' ypbind'; ypbind
+ if [ -d /var/yp/`domainname` ]; then
# if we are the master server, run rpc.yppasswdd
_host1=`ypwhich -m passwd 2> /dev/null`
_host2=`hostname`
@@ -111,8 +115,6 @@ if [ -d /var/yp/binding ]; then
echo -n ' rpc.yppasswdd'; rpc.yppasswdd
fi
fi
-
- echo -n ' ypbind'; ypbind
fi
# $nfs_server is imported from /etc/netstart;