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