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