Browse Source

pretty comments, run ypxfrd with ypserv

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

+ 3
- 3
src/etc/rc View File

@ -98,8 +98,8 @@ if [ -d /var/yp/binding ]; then
if [ -d /var/yp/`domainname` ]; then if [ -d /var/yp/`domainname` ]; then
# yp server capabilities needed... # yp server capabilities needed...
echo -n 'ypserv'; ypserv -d
#echo -n 'ypxfrd'; ypxfrd
echo -n ' ypserv'; ypserv -d
echo -n ' ypxfrd'; ypxfrd
# 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`
@ -114,7 +114,7 @@ if [ -d /var/yp/binding ]; then
sed -e 's/^Name: //'` sed -e 's/^Name: //'`
fi fi
if [ "$host2" = "$host1" ]; then if [ "$host2" = "$host1" ]; then
echo -n 'rpc.yppasswdd'; rpc.yppasswdd
echo -n ' rpc.yppasswdd'; rpc.yppasswdd
fi fi
fi fi
fi fi


Loading…
Cancel
Save