svc-pools revision 26d8ba2242584067b65160d24193c37cdc83cd55
26d8ba2242584067b65160d24193c37cdc83cd55garypen# CDDL HEADER START
26d8ba2242584067b65160d24193c37cdc83cd55garypen# The contents of this file are subject to the terms of the
26d8ba2242584067b65160d24193c37cdc83cd55garypen# Common Development and Distribution License (the "License").
26d8ba2242584067b65160d24193c37cdc83cd55garypen# You may not use this file except in compliance with the License.
26d8ba2242584067b65160d24193c37cdc83cd55garypen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
26d8ba2242584067b65160d24193c37cdc83cd55garypen# See the License for the specific language governing permissions
26d8ba2242584067b65160d24193c37cdc83cd55garypen# and limitations under the License.
26d8ba2242584067b65160d24193c37cdc83cd55garypen# When distributing Covered Code, include this CDDL HEADER in each
26d8ba2242584067b65160d24193c37cdc83cd55garypen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
26d8ba2242584067b65160d24193c37cdc83cd55garypen# If applicable, add the following below this CDDL HEADER, with the
26d8ba2242584067b65160d24193c37cdc83cd55garypen# fields enclosed by brackets "[]" replaced with your own identifying
26d8ba2242584067b65160d24193c37cdc83cd55garypen# information: Portions Copyright [yyyy] [name of copyright owner]
26d8ba2242584067b65160d24193c37cdc83cd55garypen# CDDL HEADER END
26d8ba2242584067b65160d24193c37cdc83cd55garypen# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
26d8ba2242584067b65160d24193c37cdc83cd55garypen# Use is subject to license terms.
26d8ba2242584067b65160d24193c37cdc83cd55garypen# ident "%Z%%M% %I% %E% SMI"
26d8ba2242584067b65160d24193c37cdc83cd55garypen# Method script for the pools service.
26d8ba2242584067b65160d24193c37cdc83cd55garypen if [ ! -x /sbin/zonename ] || [ ! -x /usr/sbin/pooladm ] ||
26d8ba2242584067b65160d24193c37cdc83cd55garypen [ "${_INIT_ZONENAME:=`/sbin/zonename`}" != "global" ]; then
26d8ba2242584067b65160d24193c37cdc83cd55garypen echo "Usage: $0 { start | stop | refresh}"