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
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.
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]
22 #ident "%Z%%M% %I% %E% SMI"
23 Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 Use is subject to license terms.
26 NOTE: This directory contains legacy initialization and termination
27 scripts for managing services. The preferred method of service
28 management is via the Service Management Facility; to read more about
31 For a general discussion of the mechanism used to invoke these scripts
32 see the file /etc/init.d/README.
34 After all its dependencies have been satisfied, the start method of the
35 SMF major milestone "svc:/milestone/single-user:default" executes each
36 'S' script within /etc/rcS.d/ with the argument 'start'. Any warnings,
37 errors, or output from these scripts are logged to the file:
39 /var/svc/log/milestone-single-user:default.log
41 If the system is changing from a higher run-level (for example, through
42 an invocation of "init S"), SMF executes all 'K' scripts within
43 /etc/rcS.d/ with the argument 'stop'. Any warnings, errors, or output
44 from these scripts are logged to the file:
48 Scripts in /etc/rcS.d/ may assume the following:
50 Enough network plumbing has been done to NFS mount /usr/.
52 All system-supplied device file names have been established.
54 The environment variable _INIT_RECONFIG is set if this is
55 a reconfiguration boot.
57 The base system mounts have been performed, and the file
58 systems are read/write if so specified. These are:
72 For a full list of services brought online before scripts are run, see
73 the output of "svcs -l svc:/milestone/single-user:default".