# Start the various SUN RPC servers.
if [ -f ${NET}/rpc.portmap ]; then
# Start the NFS server daemons.
if [ -f ${NET}/rpc.mountd ]; then
echo -n " mountd"
${NET}/rpc.mountd
fi
if [ -f ${NET}/rpc.nfsd ]; then
echo -n " nfsd"
${NET}/rpc.nfsd
fi
# Fire up the PC-NFS daemon(s).
if [ -f ${NET}/rpc.pcnfsd ]; then
echo -n " pcnfsd"
${NET}/rpc.pcnfsd ${LPSPOOL}
fi
if [ -f ${NET}/rpc.bwnfsd ]; then
echo -n " bwnfsd"
${NET}/rpc.bwnfsd ${LPSPOOL}
fi
# Fire up XATTRD daemon needed by TCFS.
if [ -f ${NET}/xattrd ]; then
echo -n " xattrd"
${NET}/xattrd
fi
fi # Done starting various SUN RPC servers.
Copyright © 1994 - 2019 Linux Journal. All rights reserved.