hpssaducli/amd64/usr/sbin/hpssaducli
2017-04-18 13:02:01 +02:00

13 lines
391 B
Bash
Executable File

#!/bin/bash
export HPSSADU_BIN_INSTALLATION_DIR=/opt/hp/hpssaducli/bin/
if [ '/usr/bin/tty -s' -o "$HPLSPINSTALL" = "TRUE" ]; then
${HPSSADU_BIN_INSTALLATION_DIR}hpssaducli $*
else
/usr/bin/X11/xterm -T xterm -hold -e ${HPSSADU_BIN_INSTALLATION_DIR}hpssaducli $*
if [ "$?" != 0 ]; then
exec ${HPSSADU_BIN_INSTALLATION_DIR}hpssaducli $* 2>/dev/null|cat > /dev/null
fi
fi