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