#!/bin/sh

#     DESCRIPTION
#
# Turn On/Off services on system startup/shutdown.


#     REQUIRES
#


#     INFO
#
# Turn off sshd service by default. Reasons:
#   * do not need generate each time SSH RSA/DSA host keys for stateless node.
#   * service will be autostarted by /etc/init.d/xcatpostinit

NAME="init3-services"

verbose()
{
    if [ -n "$GLOBAL_VERBOSE" ]; then
        echo "HOOK: $NAME: $@"
    fi
}

verbose "has started"

/sbin/chkconfig network on ||:
/sbin/chkconfig rpcbind on ||:
/sbin/chkconfig random on ||:
/sbin/chkconfig sshd off ||:
/sbin/chkconfig nfslock on ||:
/sbin/chkconfig opensm off ||:

verbose "finished"
