25cf1a301a396c38e8adf52c15f537b80d2483f7jl#!/bin/sh
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CDDL HEADER START
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# The contents of this file are subject to the terms of the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Common Development and Distribution License (the "License").
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# You may not use this file except in compliance with the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# or http://www.opensolaris.org/os/licensing.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# See the License for the specific language governing permissions
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# and limitations under the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# When distributing Covered Code, include this CDDL HEADER in each
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# If applicable, add the following below this CDDL HEADER, with the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# fields enclosed by brackets "[]" replaced with your own identifying
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# information: Portions Copyright [yyyy] [name of copyright owner]
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CDDL HEADER END
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Use is subject to license terms.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# ident "%Z%%M% %I% %E% SMI"
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Startup script for the Key Management Daemon
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jl. /lib/svc/share/smf_include.sh
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlplatform=${_INIT_UTS_PLATFORM:-`/sbin/uname -i`}
25cf1a301a396c38e8adf52c15f537b80d2483f7jlstarcat="SUNW,Sun-Fire-15000"
25cf1a301a396c38e8adf52c15f537b80d2483f7jlopl="SUNW,SPARC-Enterprise"
25cf1a301a396c38e8adf52c15f537b80d2483f7jlsckmd="/usr/platform/sun4u/lib/sckmd"
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlif [ ${platform} = "${starcat}" -o \
0b05a701b49058a6d47b581827961c6c39b1071amcwalter ${platform} = "${opl}" ]; then
25cf1a301a396c38e8adf52c15f537b80d2483f7jl if [ -x ${sckmd} ]; then
25cf1a301a396c38e8adf52c15f537b80d2483f7jl ${sckmd}
25cf1a301a396c38e8adf52c15f537b80d2483f7jl exit $SMF_EXIT_OK
25cf1a301a396c38e8adf52c15f537b80d2483f7jl fi
25cf1a301a396c38e8adf52c15f537b80d2483f7jlfi
25cf1a301a396c38e8adf52c15f537b80d2483f7jlexit $SMF_EXIT_MON_OFFLINE