198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn# CDDL HEADER START
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn# The contents of this file are subject to the terms of the
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn# Common Development and Distribution License (the "License").
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn# You may not use this file except in compliance with the License.
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# See the License for the specific language governing permissions
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# and limitations under the License.
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# When distributing Covered Code, include this CDDL HEADER in each
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# If applicable, add the following below this CDDL HEADER, with the
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# fields enclosed by brackets "[]" replaced with your own identifying
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# information: Portions Copyright [yyyy] [name of copyright owner]
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber# CDDL HEADER END
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
file=$2
file=$1
if [ -f $mods ]; then
pg=$1
vhost_is_enabled $vhost || return 0
ln -s ${httpd_custom_file} ${CONF_FILE}
for vhost in $vhost_list
echo >> $APACHE_CONF
FMRI=$1
for vhost in $vhost_list
exit $SMF_EXIT_OK