xref: /onnv-gate/usr/src/cmd/initpkg/inittab (revision 13055:5b1463e9bb94)
10Sstevel@tonic-gate# CDDL HEADER START
20Sstevel@tonic-gate#
30Sstevel@tonic-gate# The contents of this file are subject to the terms of the
4*13055SAnders.Persson@Sun.COM# Common Development and Distribution License (the "License").
5*13055SAnders.Persson@Sun.COM# You may not use this file except in compliance with the License.
60Sstevel@tonic-gate#
70Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
80Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
90Sstevel@tonic-gate# See the License for the specific language governing permissions
100Sstevel@tonic-gate# and limitations under the License.
110Sstevel@tonic-gate#
120Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
130Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
140Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
150Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
160Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
170Sstevel@tonic-gate#
180Sstevel@tonic-gate# CDDL HEADER END
190Sstevel@tonic-gate#
20*13055SAnders.Persson@Sun.COM# Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
210Sstevel@tonic-gate#
220Sstevel@tonic-gate# The /etc/inittab file controls the configuration of init(1M); for more
230Sstevel@tonic-gate# information refer to init(1M) and inittab(4).  It is no longer
240Sstevel@tonic-gate# necessary to edit inittab(4) directly; administrators should use the
250Sstevel@tonic-gate# Solaris Service Management Facility (SMF) to define services instead.
260Sstevel@tonic-gate# Refer to smf(5) and the System Administration Guide for more
270Sstevel@tonic-gate# information on SMF.
280Sstevel@tonic-gate#
290Sstevel@tonic-gate# For modifying parameters passed to ttymon, use svccfg(1m) to modify
300Sstevel@tonic-gate# the SMF repository. For example:
310Sstevel@tonic-gate#
320Sstevel@tonic-gate#	# svccfg
330Sstevel@tonic-gate#	svc:> select system/console-login
340Sstevel@tonic-gate#	svc:/system/console-login> setprop ttymon/terminal_type = "xterm"
350Sstevel@tonic-gate#	svc:/system/console-login> exit
360Sstevel@tonic-gate#
370Sstevel@tonic-gateap::sysinit:/sbin/autopush -f /etc/iu.ap
38*13055SAnders.Persson@Sun.COMsp::sysinit:/sbin/soconfig -d /etc/sock2path.d
390Sstevel@tonic-gatesmf::sysinit:/lib/svc/bin/svc.startd	>/dev/msglog 2<>/dev/msglog </dev/console
400Sstevel@tonic-gatep3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
41