hpssacli/amd64/usr/sbin/hpssascripting

18 lines
578 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 hpssascripting
if [ `uname -m` = "ia64" ]; then
/usr/bin/prctl --unaligned=silent ${HPSSACLI_BIN_INSTALLATION_DIR}hpssascripting $*
else
exec ${HPSSACLI_BIN_INSTALLATION_DIR}hpssascripting $*
fi