#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
export PATH
{
default="15m"
if [ $# -lt 1 ]; then
return
fi
answer=$1
else
fi
}
{
}
{
if [ ! -f $1 ]; then
echo "$1 does not exist" >&2
exit $SMF_EXIT_ERR_CONFIG
fi
}
{
# expected to be called with two arguments: .cf path & path to m4 file
[ $# -lt 2 ] && return
cf_path=$1
m4_path=$2
if [ -f "${cf_path}.old" ]; then
[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
fi
#
# If ${cf_path}.old does not exist, assume it was taken care
# of on a previous run.
#
else
/*) ;; # absolute path
*) return;;
esac
fi
[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
)
[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
fi
}