xref: /illumos-gate/usr/src/cmd/initpkg/inittab (revision 9b0bb795691f70ec1b1796f6d15266f82d7a3200)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20# Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
21#
22# The /etc/inittab file controls the configuration of init(1M); for more
23# information refer to init(1M) and inittab(4).  It is no longer
24# necessary to edit inittab(4) directly; administrators should use the
25# Solaris Service Management Facility (SMF) to define services instead.
26# Refer to smf(5) and the System Administration Guide for more
27# information on SMF.
28#
29# For modifying parameters passed to ttymon, use svccfg(1m) to modify
30# the SMF repository. For example:
31#
32#	# svccfg
33#	svc:> select system/console-login
34#	svc:/system/console-login> setprop ttymon/terminal_type = "xterm"
35#	svc:/system/console-login> exit
36#
37ap::sysinit:/sbin/autopush -f /etc/iu.ap
38sp::sysinit:/sbin/soconfig -d /etc/sock2path.d
39smf::sysinit:/lib/svc/bin/svc.startd	>/dev/msglog 2<>/dev/msglog </dev/console
40p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
41