diff options
author | 1996-04-24 12:43:24 +0000 | |
---|---|---|
committer | 1996-04-24 12:43:24 +0000 | |
commit | 2d5ee5bce6f5e18000e8347b45274fc5727234bf (patch) | |
tree | 2cb65df09223be5c44bd2067a2e5ca2747f7ed95 | |
parent | Reorder includes. (diff) | |
download | wireguard-openbsd-2d5ee5bce6f5e18000e8347b45274fc5727234bf.tar.xz wireguard-openbsd-2d5ee5bce6f5e18000e8347b45274fc5727234bf.zip |
start ypserv & rpc.yppasswdd automatically
-rw-r--r-- | etc/rc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |