svc-dcs revision a1e4d62bc1ea0bd683c63f185da43cda7aec8f20
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# CDDL HEADER START
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# The contents of this file are subject to the terms of the
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# Common Development and Distribution License (the "License").
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# You may not use this file except in compliance with the License.
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# See the License for the specific language governing permissions
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# and limitations under the License.
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
009217abb57a24a4076092e8e4e165545747839eStephan Bosch# information: Portions Copyright [yyyy] [name of copyright owner]
c458d2e8b99ec4ce939a58f5b4add83783bc14ccTimo Sirainen# CDDL HEADER END
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# Use is subject to license terms.
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen# ident "%Z%%M% %I% %E% SMI"
0998339f5a8424ce0b9f108006fa6bbc74be70dfTimo Sirainen# Start script for dcs
cff23ec51177f11902c99b727268eb05ea7c97c7Timo Sirainen# For modifying parameters passed to dcs, do not edit
cee50689ea9f3cfec451a6e105307ee2d86ed5dcTimo Sirainen# this script. Instead use svccfg(1m) to modify the SMF
c515f5c969f7a3a5b525ab15bde2f116cbe932deAki Tuomi# repository. For example:
6b23e5a3fff511cd64f1edb880fd080016c23c0fTimo Sirainen# svc:/platform/sun4u/dcs> setprop dcs/ah_auth = "md5"
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen [ -n "$val" ] && [ "$val" != 'none' ] && echo $1 $val
6b23e5a3fff511cd64f1edb880fd080016c23c0fTimo Sirainenif [ $platform = "$e10k" -o $platform = "$sf15k" -o \
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen exit # Use dcs's exit status
c5d6b453eccc0962eae967abc10e028a740e1256Timo Sirainen echo "$SMF_FMRI is not supported on this platform."