Listing of sge_remove
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
. `dirname $0`/sge_config
/usr/cluster/bin/scswitch -n -j ${SCHEDDRS}
/usr/cluster/bin/scswitch -n -j ${QMASTERRS}
if [ "${SGE_VER}" = "5.3" ]; then
/usr/cluster/bin/scswitch -n -j ${COMMDRS}
fi
/usr/cluster/bin/scrgadm -r -j ${SCHEDDRS}
/usr/cluster/bin/scrgadm -r -j ${QMASTERRS}
if [ "${SGE_VER}" = "5.3" ]; then
/usr/cluster/bin/scrgadm -r -j ${COMMDRS}
# SGE launch at boot re-enabled, and
# run-level script link re-established.
if [ -e ${SGE_ROOT}/sge_boot_launch_disabled && -e /etc/init.d/rcsge ]; then
rm ${SGE_ROOT}/sge_boot_launch_disabled
ln -s /etc/init.d/rcsge /etc/rc2.d/S95rcsge
chmod 111 /etc/rc2.d/S95rcsge
fi
fi