#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/events/utils/get_fast_connect_rs.sh 1.11 # # 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 # @(#)67 1.11 src/43haes/usr/sbin/cluster/events/utils/get_fast_connect_rs.sh, hacmp.events, 61haes_r714 4/24/08 19:22:02 ################################################################# # Name: get_fast_connect_rs # # This script is used to start the Fast Connect server. # # The nature of this connection only requires testing to see if the # SMB server is active. If it is active, then don't restart. # cltime UPORDOWN=$(/usr/sbin/net status) RC=$? : exit status for net status is: $RC if (( $RC != 0 )) then export LC_ALL="" eval $(grep -w LANG /etc/environment) /etc/rc.cifs start exit $? fi exit 0