#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/cspoc/utilities/clis32bitkernel.sh 1.1 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2002 # 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 # @(#)85 1.1 src/43haes/usr/sbin/cluster/cspoc/utilities/clis32bitkernel.sh, hacmp.cspoc, 61haes_r714 11/19/02 15:20:34 # \$Id\$ # # Component: hacmp.cspoc # # Function: returns 0 if system is running at 32 bit kernel, 1 other wise # # Origins: 86 # # Arguments: None # # Returns: 0 - if 32-bit kernel # 1 - otherwise # # Environment: None # ############################################################################# PATH="$($(dirname ${0})/../utilities/cl_get_path all)" export PATH if [[ $(bootinfo -K) = "32" ]] then exit 0 else exit 1 fi