xref: /titanic_44/usr/src/cmd/initpkg/inittab (revision 6a634c9dca3093f3922e4b7ab826d7bdf17bf78e)
17c478bd9Sstevel@tonic-gate# CDDL HEADER START
27c478bd9Sstevel@tonic-gate#
37c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
4*d2b5b2d3SAnders Persson# Common Development and Distribution License (the "License").
5*d2b5b2d3SAnders 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#
20*d2b5b2d3SAnders Persson# Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
217c478bd9Sstevel@tonic-gate#
227c478bd9Sstevel@tonic-gate# The /etc/inittab file controls the configuration of init(1M); for more
237c478bd9Sstevel@tonic-gate# information refer to init(1M) and inittab(4).  It is no longer
247c478bd9Sstevel@tonic-gate# necessary to edit inittab(4) directly; administrators should use the
257c478bd9Sstevel@tonic-gate# Solaris Service Management Facility (SMF) to define services instead.
267c478bd9Sstevel@tonic-gate# Refer to smf(5) and the System Administration Guide for more
277c478bd9Sstevel@tonic-gate# information on SMF.
287c478bd9Sstevel@tonic-gate#
297c478bd9Sstevel@tonic-gate# For modifying parameters passed to ttymon, use svccfg(1m) 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
38*d2b5b2d3SAnders 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