HP StorageWorks HSG80 ACS Solution Software V8.8 for Tru64 UNIX Installation and Configuration Guide (AA-RV1VA-TE, March 2005)

SWCC Agent in TruCluster Environment
228 HSG80 ACS Solution Software V8.8 for Tru64 UNIX Installation and Configuration Guide
Creating the Start/Stop Script
To create Start/Stop scripts outside of the asemgr utility use your favorite
editor. The Start script should start the program.
/usr/opt/SWCC520/scripts/steamstart
#!/bin/sh
#
# Simple start script for steamd.
#
PATH=.:/etc:/bin:/usr/bin:/usr/ucb:/sbin
export PATH
SD=”/usr/opt/SWCC520/bin/steamd”
grep -qsw steam /etc/inittab
if [ $? -ne 0 ]
then
echo “steam:3:respawn:$SD sF” >> /etc/inittab
init q
else
exit 0
fi