#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/events/utils/release_fast_connect_rs.sh 1.10 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 1998,2008 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)68 1.10 src/43haes/usr/sbin/cluster/events/utils/release_fast_connect_rs.sh, hacmp.events, 61haes_r714 4/24/08 19:22:12 ################################################################# # Name: release_fast_connect_rs # # This script is used to stop the Fast Connect server. # # The nature of this connection only requires testing to see if the # SMB server is active. If it is not active, then don't kill it. # cltime UPORDOWN=$(/usr/sbin/net status) RC=$? : exit status for net status is: $RC cltime if (( $RC == 0 )) then /etc/rc.cifs stop exit $? fi exit 0