12667N/A# The contents of this file are subject to the terms of the
12667N/A# Common Development and Distribution License (the "License").
12667N/A# You may not use this file except in compliance with the License.
12666N/A# See the License for the specific language governing permissions
12666N/A# and limitations under the License.
14364N/A# When distributing Covered Code, include this CDDL HEADER in each
14364N/A# If applicable, add the following below this CDDL HEADER, with the
14364N/A# fields enclosed by brackets "[]" replaced with your own identifying
14364N/A# information: Portions Copyright [yyyy] [name of copyright owner]
14364N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
14364N/A# Use is subject to license terms.
# Preinstall script will create this file if HAL service was already
# installed, in which case we preserve current service state,
# be it enabled or disabled.
# enable HAL only in global zone
if [ "$UPDATE" = yes ]; then
elif [ "${PKG_INSTALL_ROOT:-/}" = "/" ]; then