
#!/bin/bash

#
# (c) Copyright 2002 Hewlett-Packard Development Company, L.P.
#
# init file for SAS agent
#
# processname: cmasasd

NAME="SAS agent"
PNAME="cmasasd"
PFLAGS="-p 15 -s OK"
LD_LIBRARY_PATH="/opt/compaq/storage/bin"
export LD_LIBRARY_PATH

if [ "$1" = "start" ]; then
   if [ -d /var/spool/compaq/hpasm/registry/sas ]; then
      rm -rf /var/spool/compaq/hpasm/registry/sas
   fi
fi

if [ "x$CMAINCLUDE" = "x" ]; then
        CMAINCLUDE=/opt/compaq/foundation/etc/cmad
fi

. $CMAINCLUDE

