preremove revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 292N/A# See the License for the specific language governing permissions 292N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 292N/A# If applicable, add the following below this CDDL HEADER, with the 292N/A# fields enclosed by brackets "[]" replaced with your own identifying 292N/A# information: Portions Copyright [yyyy] [name of copyright owner] 292N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 292N/A# Use is subject to license terms. 0N/A# The following case implies that the installation was not on the root disk 0N/Aif [
"${PKG_INSTALL_ROOT}" !=
"" -a
"${PKG_INSTALL_ROOT}" !=
"/" ];
then 0N/A # Do not disable the service in this case. 0N/A# Confirm service is installed, otherwise exit. 0N/A# Check to see if the service is running and if so disable it. 0N/Aif [
"${SVCPROP}" =
"true" ];
then 18N/A echo "\n$0 Disabling of ${SERVICE} failed!\n" >&
2