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