i.pkcs11confbase revision 7c478bd95313f5f23a4c958a745db2134aa03244
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews# CDDL HEADER START
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# The contents of this file are subject to the terms of the
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# Common Development and Distribution License, Version 1.0 only
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews# (the "License"). You may not use this file except in compliance
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# with the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# or http://www.opensolaris.org/os/licensing.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# Use is subject to license terms.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# ident "%Z%%M% %I% %E% SMI"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington if [ ! -f $dest ] ; then
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews #check if destination already has metaslot configuration line
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews if [ $? != 0 ] ; then
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews #metaslot line doesn't exist, need to add it
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews if [ $? = 0 ] ; then
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews { print ENVIRON["metaslot_config"] } \