aggregation revision 210db2243d3b5ca39c96a4c34c6d9453ddfbeaa9
750N/A#!/sbin/sh
750N/A#
750N/A# CDDL HEADER START
750N/A#
750N/A# The contents of this file are subject to the terms of the
750N/A# Common Development and Distribution License, Version 1.0 only
750N/A# (the "License"). You may not use this file except in compliance
750N/A# with the License.
750N/A#
750N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
750N/A# or http://www.opensolaris.org/os/licensing.
750N/A# See the License for the specific language governing permissions
750N/A# and limitations under the License.
750N/A#
750N/A# When distributing Covered Code, include this CDDL HEADER in each
750N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
750N/A# If applicable, add the following below this CDDL HEADER, with the
750N/A# fields enclosed by brackets "[]" replaced with your own identifying
750N/A# information: Portions Copyright [yyyy] [name of copyright owner]
750N/A#
750N/A# CDDL HEADER END
750N/A#
750N/A#
750N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
750N/A# Use is subject to license terms.
750N/A#
750N/A# ident "%Z%%M% %I% %E% SMI"
750N/A
750N/Aif [ `/sbin/zonename` != "global" ]; then
750N/A exit 0
750N/Afi
750N/A
750N/Acase "$1" in
750N/A'start')
750N/A /sbin/dladm up-aggr
750N/A ;;
750N/A'stop')
750N/A /sbin/dladm down-aggr
750N/A ;;
750N/Aesac
750N/A