svc-dumpadm revision 7c478bd95313f5f23a4c958a745db2134aa03244
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# CDDL HEADER START
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# The contents of this file are subject to the terms of the
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# Common Development and Distribution License, Version 1.0 only
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# (the "License"). You may not use this file except in compliance
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# with the License.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# See the License for the specific language governing permissions
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# and limitations under the License.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# When distributing Covered Code, include this CDDL HEADER in each
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# information: Portions Copyright [yyyy] [name of copyright owner]
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# CDDL HEADER END
65e99be301d5a19db33f25841f671756e8dbb9b5ludovicp# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# Use is subject to license terms.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift#ident "%Z%%M% %I% %E% SMI"
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# Make sure that $DUMPADM_SAVDIR is set and exists.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift [ -z "$DUMPADM_SAVDIR" ] && DUMPADM_SAVDIR=/var/crash/`uname -n`
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift [ -d "$DUMPADM_SAVDIR" ] || /usr/bin/mkdir -m 0700 -p $DUMPADM_SAVDIR
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_OK