#!/bin/ksh -p
#
# ident "@(#)utpkg-utstr-ctl.ksh	1.3 09/09/17 SMI"
#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

set -u

function disable {

#
# kill storage service daemons if alive 
# This should only be done when installing on the local system
#
    
    if [ -x /etc/init.d/utstorage ]; then
	/etc/init.d/utstorage stop
    fi
    
    return 0
        
}

function enable {

    return 0

}


########################################################################
# Local Variables
# They must defined here to resolve some of the parameter resolution
# problem
########################################################################
local_variables() {
    return
}


########################################################################
#
# Configurable parameter
#
########################################################################
# NONE


########################################################################
#
# Variables used in the shared script utctl-shlib
#
########################################################################
DESCR="Stops utstorage service. Removes utstorage (and kills symlinks) from rc. "


########################################################################
#
# Execution starts here
#
PROGPATH=`dirname $0`
. $PROGPATH/utctl-shlib
