pretty comments, run ypxfrd with ypserv
authorderaadt <deraadt@openbsd.org>
Fri, 3 May 1996 11:46:34 +0000 (11:46 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 3 May 1996 11:46:34 +0000 (11:46 +0000)
etc/rc

diff --git a/etc/rc b/etc/rc
index 5d03c21..a05a7ac 100644 (file)
--- a/etc/rc
+++ b/etc/rc
@@ -98,8 +98,8 @@ if [ -d /var/yp/binding ]; then
 
        if [ -d /var/yp/`domainname` ]; then
                # 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
                _host1=`ypwhich -m passwd 2> /dev/null`
@@ -114,7 +114,7 @@ if [ -d /var/yp/binding ]; then
                            sed -e 's/^Name:    //'`
                fi
                if [ "$host2" = "$host1" ]; then
-                       echo -n 'rpc.yppasswdd'; rpc.yppasswdd
+                       echo -n ' rpc.yppasswdd'; rpc.yppasswdd
                fi
        fi
 fi