125cf1a30Sjl#!/bin/sh 225cf1a30Sjl# 325cf1a30Sjl# CDDL HEADER START 425cf1a30Sjl# 525cf1a30Sjl# The contents of this file are subject to the terms of the 625cf1a30Sjl# Common Development and Distribution License (the "License"). 725cf1a30Sjl# You may not use this file except in compliance with the License. 825cf1a30Sjl# 925cf1a30Sjl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 1025cf1a30Sjl# or http://www.opensolaris.org/os/licensing. 1125cf1a30Sjl# See the License for the specific language governing permissions 1225cf1a30Sjl# and limitations under the License. 1325cf1a30Sjl# 1425cf1a30Sjl# When distributing Covered Code, include this CDDL HEADER in each 1525cf1a30Sjl# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1625cf1a30Sjl# If applicable, add the following below this CDDL HEADER, with the 1725cf1a30Sjl# fields enclosed by brackets "[]" replaced with your own identifying 1825cf1a30Sjl# information: Portions Copyright [yyyy] [name of copyright owner] 1925cf1a30Sjl# 2025cf1a30Sjl# CDDL HEADER END 2125cf1a30Sjl# 2225cf1a30Sjl# 2325cf1a30Sjl# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 2425cf1a30Sjl# Use is subject to license terms. 25*1f4c6dbcSPeter Tribble# Copyright 2019 Peter Tribble. 2625cf1a30Sjl# 2725cf1a30Sjl 2825cf1a30Sjl# 2925cf1a30Sjl# Startup script for the Key Management Daemon 3025cf1a30Sjl# 3125cf1a30Sjl 3225cf1a30Sjl. /lib/svc/share/smf_include.sh 3325cf1a30Sjl 3425cf1a30Sjlplatform=${_INIT_UTS_PLATFORM:-`/sbin/uname -i`} 35*1f4c6dbcSPeter Tribbleopl="SUNW,SPARC-Enterprise" 3625cf1a30Sjlsckmd="/usr/platform/sun4u/lib/sckmd" 3725cf1a30Sjl 38*1f4c6dbcSPeter Tribbleif [ ${platform} = "${opl}" ]; then 39*1f4c6dbcSPeter Tribble if [ -x ${sckmd} ]; then 4025cf1a30Sjl ${sckmd} 4125cf1a30Sjl exit $SMF_EXIT_OK 4225cf1a30Sjl fi 4325cf1a30Sjlfi 4425cf1a30Sjlexit $SMF_EXIT_MON_OFFLINE 45