artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57da6b7
)
start ypserv & rpc.yppasswdd automatically
author
deraadt
<deraadt@openbsd.org>
Wed, 24 Apr 1996 12:43:24 +0000
(12:43 +0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 24 Apr 1996 12:43:24 +0000
(12:43 +0000)
etc/rc
patch
|
blob
|
history
diff --git
a/etc/rc
b/etc/rc
index
46bd794
..
335dbe9
100644
(file)
--- 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