ldap-olslapd revision 1914
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync# CDDL HEADER START
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync# The contents of this file are subject to the terms of the
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Common Development and Distribution License (the "License").
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync# You may not use this file except in compliance with the License.
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# See the License for the specific language governing permissions
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# and limitations under the License.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# If applicable, add the following below this CDDL HEADER, with the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# CDDL HEADER END
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
cacc4e75dbbff469c10a505168208f064c6c385cvboxsynctypeset -r SLAPD="/usr/lib/slapd -u ${LDAPUSR} -g ${LDAPGRP} -f ${CONF_FILE}"
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync[[ ! -f ${CONF_FILE} ]] && exit $SMF_EXIT_ERR_CONFIG
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync if [[ ! -d ${VARRUNDIR} ]] ; then
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync /usr/bin/mkdir -m 700 ${VARRUNDIR} || exit $SMF_EXIT_ERR_CONFIG
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync # Use the actual contract, not ${PIDFILE}
9621896680fea9b2078823e8ef2e64cec5bf2da0vboxsync print "Usage: $0 {start|stop}"
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync# not reached