1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#!/bin/sh
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# CDDL HEADER START
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# The contents of this file are subject to the terms of the
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# Common Development and Distribution License (the "License").
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# You may not use this file except in compliance with the License.
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# or http://www.opensolaris.org/os/licensing.
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# See the License for the specific language governing permissions
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# and limitations under the License.
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# When distributing Covered Code, include this CDDL HEADER in each
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# If applicable, add the following below this CDDL HEADER, with the
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# fields enclosed by brackets "[]" replaced with your own identifying
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# information: Portions Copyright [yyyy] [name of copyright owner]
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# CDDL HEADER END
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# Use is subject to license terms.
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda# ident "%Z%%M% %I% %E% SMI"
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda#
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda. /lib/svc/share/smf_include.sh
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedaDRD=/usr/lib/ldoms/drd
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedamach=`/sbin/uname -m`
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedaEXIT=$SMF_EXIT_ERR_CONFIG
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedaif [ $mach = "sun4v" ]; then
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda $DRD && EXIT=$SMF_EXIT_OK
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedaelse
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda echo "$SMF_FMRI is not supported on this platform."
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedafi
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaeda
1d4b38e0077763e7c9b20768eacb841957e787bcrsmaedaexit $EXIT