#
# ident "@(#)preremove.src	1.2 04/04/21 SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
# Use is subject to licence terms.
#

PATH=/bin:/sbin:/usr/sbin

if [ -z "$PKG_INSTALL_ROOT" ]; then PKG_INSTALL_ROOT=""; fi

set -u

#
# kill storage service daemons if alive
#

$PKG_INSTALL_ROOT/etc/init.d/utstorage stop

echo "### successfully ended Sun Ray storage services"

exit 0
