99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# CDDL HEADER START
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# The contents of this file are subject to the terms of the
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# Common Development and Distribution License (the "License").
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# You may not use this file except in compliance with the License.
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# See the License for the specific language governing permissions
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# and limitations under the License.
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# When distributing Covered Code, include this CDDL HEADER in each
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# If applicable, add the following below this CDDL HEADER, with the
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# fields enclosed by brackets "[]" replaced with your own identifying
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# information: Portions Copyright [yyyy] [name of copyright owner]
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# CDDL HEADER END
349b53dd4e695e3d833b5380540385145b2d3ae8Stuart Maybee# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine# Use is subject to license terms.
349b53dd4e695e3d833b5380540385145b2d3ae8Stuart Maybee echo "This service will only run in a PV xVM domU."
349b53dd4e695e3d833b5380540385145b2d3ae8Stuart Maybee svcadm disable svc:/system/xvm/ipagent:default
349b53dd4e695e3d833b5380540385145b2d3ae8Stuart Maybee if [ `uname -p` != "i386" -o `uname -i` != "i86xpv" ]; then
349b53dd4e695e3d833b5380540385145b2d3ae8Stuart Maybee echo "$domcaps" | grep "control_d" > /dev/null
349b53dd4e695e3d833b5380540385145b2d3ae8Stuart Maybee if [ $? = 0 ]; then
99ba4d70906e5f67853c25ade6ebf4da3e5be4d6Russell Blaine echo "Usage: $0 start [report_interval]"