From 63299904179c52d554e18e2d9c38ed11c5d3273f Mon Sep 17 00:00:00 2001 From: brianfinley Date: Sun, 17 Feb 2013 16:25:57 +0000 Subject: [PATCH] Addition from the BEF_Scripts for xCAT git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/test_hca_state | 149 ++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100755 xCAT-server/share/xcat/tools/test_hca_state diff --git a/xCAT-server/share/xcat/tools/test_hca_state b/xCAT-server/share/xcat/tools/test_hca_state new file mode 100755 index 000000000..d0f31f0fa --- /dev/null +++ b/xCAT-server/share/xcat/tools/test_hca_state @@ -0,0 +1,149 @@ +#!/bin/bash + +# +# 2012.08.19 Brian Elliott Finley +# - created +# 2013.02.17 Brian Elliott Finley +# - added --help output +# + +NR=$1 + +offer_help() { + + PROGNAME=$(basename $0) + + # At some point, source a file for this info for the whole suite + VERSION=3.2.17 + + cat <