ssaducli/i386/usr/sbin/ssaducli
2017-11-10 15:37:41 +01:00

13 lines
390 B
Bash
Executable File

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