hpssacli/i386/usr/sbin/hpssacli
2016-05-21 07:44:35 +02:00

18 lines
560 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
exec ${HPSSACLI_BIN_INSTALLATION_DIR}hpssacli $*
fi