1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22
23Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24Use is subject to license terms.
25
26NOTE: This directory contains legacy initialization and termination
27scripts for managing services.  The preferred method of service
28management is via the Service Management Facility; to read more about
29SMF, consult smf(7).
30
31For a general discussion of the mechanism used to invoke these scripts
32see the file /etc/init.d/README.
33
34When moving to run-level 3, via an "init 3" invocation or the SMF major
35milestone "svc:/milestone/multi-user-server:default", /sbin/rc3 executes
36each 'K' script within /etc/rc3.d/ with the argument 'stop', followed by
37each 'S' script within /etc/rc3.d/ with the argument 'start'.   All
38start scripts in the directories /etc/rcS.d/ and /etc/rc2.d/ will have
39been run as part of the earlier major milestones.  Any warnings, errors,
40or output from the scripts in /etc/rc3.d/ are logged to the file:
41
42/var/svc/log/milestone-multi-user-server:default.log
43
44Scripts in /etc/rc3.d/ may assume the following:
45
46	The NFS server, if enabled, is running and shared NFS filesystems
47	are exported.
48
49For a full list of services brought online before scripts are run, see
50the output of "svcs -l svc:/milestone/multi-user-server:default".
51