12eaee53eSmb#!/sbin/sh 22eaee53eSmb# 32eaee53eSmb# CDDL HEADER START 42eaee53eSmb# 52eaee53eSmb# 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. 82eaee53eSmb# 92eaee53eSmb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 102eaee53eSmb# or http://www.opensolaris.org/os/licensing. 112eaee53eSmb# See the License for the specific language governing permissions 122eaee53eSmb# and limitations under the License. 132eaee53eSmb# 142eaee53eSmb# When distributing Covered Code, include this CDDL HEADER in each 152eaee53eSmb# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 162eaee53eSmb# If applicable, add the following below this CDDL HEADER, with the 172eaee53eSmb# fields enclosed by brackets "[]" replaced with your own identifying 182eaee53eSmb# information: Portions Copyright [yyyy] [name of copyright owner] 192eaee53eSmb# 202eaee53eSmb# CDDL HEADER END 212eaee53eSmb# 22a1e4d62bShshaw 23a1e4d62bShshaw# 24a1e4d62bShshaw# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 25a1e4d62bShshaw# Use is subject to license terms. 262a1fd0ffSPeter Tribble# Copyright 2019 Peter Tribble. 272eaee53eSmb# 282eaee53eSmb# Start script for dcs 292eaee53eSmb# 302eaee53eSmb 312eaee53eSmb. /lib/svc/share/smf_include.sh 322eaee53eSmb 332eaee53eSmbDCS=/usr/lib/dcs 342eaee53eSmbplatform=`/sbin/uname -i` 3525cf1a30Sjlopl="SUNW,SPARC-Enterprise" 362eaee53eSmb 37*1f4c6dbcSPeter Tribbleif [ $platform = "$opl" ]; then 38*1f4c6dbcSPeter Tribble $DCS -l # Fail if can't execute 39*1f4c6dbcSPeter Tribble exit # Use dcs's exit status 402eaee53eSmbelse 412eaee53eSmb echo "$SMF_FMRI is not supported on this platform." 422eaee53eSmb exit $SMF_EXIT_ERR_CONFIG 432eaee53eSmbfi 442eaee53eSmb 452eaee53eSmbexit 0 46