H daemon:
if [ -x /etc/rc.d/rc.sshd ]; then
echo "Starting OpenSSH SSH daemon: /usr/sbin/sshd"
/etc/rc.d/rc.sshd start
fi
# Start the BIND name server daemon:
if [ -x /etc/rc.d/rc.bind ]; then
/etc/rc.d/rc.bind start
fi
# Start NIS (the Network Information Service):
if [ -x /etc/rc.d/rc.yp ]; then
. /etc/rc.d/rc.yp start
fi
# Start the NFS server. Note that for this to work correctly, you'll
# need nfsd support in the kernel (the startup script will try to load
# the module for you).
# You'll also need to set up some shares in /etc/exports.
# Starting the NFS server:
if [ -x /etc/rc.d/rc.nfsd ]; then
/etc/rc.d/rc.nfsd start
fi
# Stuff you won't need follows. ;-)
# # Start the network routing daemon:
# if [ -x /usr/sbin/routed ]; then
# echo "Starting network routing daemon: /usr/sbin/routed"
# /usr/sbin/routed -g -s
# fi
# # Start the system status server:
# if [ -x /usr/sbin/rwhod ]; then
# echo "Starting system status server: /usr/sbin/rwhod"
# /usr/sbin/rwhod
# fi
# # Fire up the PC-NFS daemon(s). This is a primarily obsolete system, and may
# # not be very secure. It's not at all needed for normal NFS server support.
# # You probably should not run this.
# if [ -x /usr/sbin/rpc.pcnfsd ]; then
# echo "Starting PC-NFS daemons: /usr/sbin/rpc.pcnfsd /usr/sbin/rpc.bwnfsd"
# /usr/sbin/rpc.pcnfsd /var/spool/lpd
# fi