xref: /illumos-gate/usr/src/cmd/initpkg/inittab (revision bbf21555)
17c478bd9Sstevel@tonic-gate# CDDL HEADER START
27c478bd9Sstevel@tonic-gate#
37c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
4d2b5b2d3SAnders Persson# Common Development and Distribution License (the "License").
5d2b5b2d3SAnders Persson# You may not use this file except in compliance with the License.
67c478bd9Sstevel@tonic-gate#
77c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
87c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
97c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
107c478bd9Sstevel@tonic-gate# and limitations under the License.
117c478bd9Sstevel@tonic-gate#
127c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
137c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
157c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
167c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
177c478bd9Sstevel@tonic-gate#
187c478bd9Sstevel@tonic-gate# CDDL HEADER END
197c478bd9Sstevel@tonic-gate#
20d2b5b2d3SAnders Persson# Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
217c478bd9Sstevel@tonic-gate#
22*bbf21555SRichard Lowe# The /etc/inittab file controls the configuration of init(8); for more
23*bbf21555SRichard Lowe# information refer to init(8) and inittab(5).  It is no longer
24*bbf21555SRichard Lowe# necessary to edit inittab(5) directly; administrators should use the
257c478bd9Sstevel@tonic-gate# Solaris Service Management Facility (SMF) to define services instead.
26*bbf21555SRichard Lowe# Refer to smf(7) and the System Administration Guide for more
277c478bd9Sstevel@tonic-gate# information on SMF.
287c478bd9Sstevel@tonic-gate#
29*bbf21555SRichard Lowe# For modifying parameters passed to ttymon, use svccfg(8) to modify
307c478bd9Sstevel@tonic-gate# the SMF repository. For example:
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate#	# svccfg
337c478bd9Sstevel@tonic-gate#	svc:> select system/console-login
347c478bd9Sstevel@tonic-gate#	svc:/system/console-login> setprop ttymon/terminal_type = "xterm"
357c478bd9Sstevel@tonic-gate#	svc:/system/console-login> exit
367c478bd9Sstevel@tonic-gate#
377c478bd9Sstevel@tonic-gateap::sysinit:/sbin/autopush -f /etc/iu.ap
38d2b5b2d3SAnders Perssonsp::sysinit:/sbin/soconfig -d /etc/sock2path.d
397c478bd9Sstevel@tonic-gatesmf::sysinit:/lib/svc/bin/svc.startd	>/dev/msglog 2<>/dev/msglog </dev/console
407c478bd9Sstevel@tonic-gatep3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
41