hpssacli/i386/usr/sbin/hpssacli

18 lines
555 B
Bash
Executable File

#!/bin/sh
#
# Uncomment the line below to turn off discovery of Fibre
# export INFOMGR_BYPASS_FIBRE=1
#
# Uncomment the lines below to turn off discovery of Non-Smart Array controllers
# export INFOMGR_BYPASS_NONSA=1
#
HPSSACLI_BIN_INSTALLATION_DIR=/opt/hp/hpssacli/bld/
export LD_LIBRARY_PATH=$HPSSACLI_BIN_INSTALLATION_DIR
${HPSSACLI_BIN_INSTALLATION_DIR}mklocks.sh hpssacli
if [ `uname -m` = "ia64" ]; then
/usr/bin/prctl --unaligned=silent ${HPSSACLI_BIN_INSTALLATION_DIR}hpssacli $*
else
${HPSSACLI_BIN_INSTALLATION_DIR}hpssacli $*
fi