xref: /titanic_52/usr/src/cmd/halt/smf.i386/boot-config.xml (revision abcc7ef9701284c984bd4626e74d300a5de42dc5)
1e557d412SChristopher Kiick<?xml version="1.0"?>
2e557d412SChristopher Kiick<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3e557d412SChristopher Kiick<!--
4*abcc7ef9SGangadhar Mylapuram Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
5e557d412SChristopher Kiick
6e557d412SChristopher Kiick CDDL HEADER START
7e557d412SChristopher Kiick
8e557d412SChristopher Kiick The contents of this file are subject to the terms of the
9e557d412SChristopher Kiick Common Development and Distribution License (the "License").
10e557d412SChristopher Kiick You may not use this file except in compliance with the License.
11e557d412SChristopher Kiick
12e557d412SChristopher Kiick You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13e557d412SChristopher Kiick or http://www.opensolaris.org/os/licensing.
14e557d412SChristopher Kiick See the License for the specific language governing permissions
15e557d412SChristopher Kiick and limitations under the License.
16e557d412SChristopher Kiick
17e557d412SChristopher Kiick When distributing Covered Code, include this CDDL HEADER in each
18e557d412SChristopher Kiick file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19e557d412SChristopher Kiick If applicable, add the following below this CDDL HEADER, with the
20e557d412SChristopher Kiick fields enclosed by brackets "[]" replaced with your own identifying
21e557d412SChristopher Kiick information: Portions Copyright [yyyy] [name of copyright owner]
22e557d412SChristopher Kiick
23e557d412SChristopher Kiick CDDL HEADER END
24e557d412SChristopher Kiick
25e557d412SChristopher Kiick    NOTE:  This service manifest is not editable; its contents will
26e557d412SChristopher Kiick    be overwritten by package or patch operations, including
27e557d412SChristopher Kiick    operating system upgrade.  Make customizations in a different
28e557d412SChristopher Kiick    file.
29e557d412SChristopher Kiick-->
30e557d412SChristopher Kiick
31e557d412SChristopher Kiick<service_bundle type='manifest' name='SUNWcsr:boot-config'>
32e557d412SChristopher Kiick
33e557d412SChristopher Kiick<service
34e557d412SChristopher Kiick	name='system/boot-config'
35e557d412SChristopher Kiick	type='service'
36e557d412SChristopher Kiick	version='1'>
37e557d412SChristopher Kiick
38e557d412SChristopher Kiick	<single_instance />
39e557d412SChristopher Kiick
40e557d412SChristopher Kiick	<dependency
41e557d412SChristopher Kiick		name='manifest_import'
42e557d412SChristopher Kiick		grouping='optional_all'
43e557d412SChristopher Kiick		restart_on='none'
44e557d412SChristopher Kiick		type='service'>
45e557d412SChristopher Kiick		<service_fmri value='svc:/system/manifest-import:default' />
46e557d412SChristopher Kiick	</dependency>
47e557d412SChristopher Kiick
48e557d412SChristopher Kiick	<!-- The boot-config service is made to depend on milestone
49e557d412SChristopher Kiick	multi-user to minimize the chance for panic reboot loop. -->
50e557d412SChristopher Kiick	<dependency
51e557d412SChristopher Kiick		name='boot_multi-user'
52e557d412SChristopher Kiick		grouping='optional_all'
53e557d412SChristopher Kiick		restart_on='none'
54e557d412SChristopher Kiick		type='service'>
55e557d412SChristopher Kiick		<service_fmri value='svc:/milestone/multi-user' />
56e557d412SChristopher Kiick	</dependency>
57e557d412SChristopher Kiick
58e557d412SChristopher Kiick	<instance name='default' enabled = 'true'>
59e557d412SChristopher Kiick
60e557d412SChristopher Kiick	<exec_method
61e557d412SChristopher Kiick		type='method'
62e557d412SChristopher Kiick		name='start'
63e557d412SChristopher Kiick		exec='/lib/svc/method/svc-boot-config'
64e557d412SChristopher Kiick		timeout_seconds='60' />
65e557d412SChristopher Kiick
66e557d412SChristopher Kiick	<exec_method
67e557d412SChristopher Kiick		type='method'
68e557d412SChristopher Kiick		name='stop'
69e557d412SChristopher Kiick		exec=':true'
70e557d412SChristopher Kiick		timeout_seconds='60' />
71e557d412SChristopher Kiick
72e557d412SChristopher Kiick	<exec_method
73e557d412SChristopher Kiick		type='method'
74e557d412SChristopher Kiick		name='refresh'
75e557d412SChristopher Kiick		exec='/lib/svc/method/svc-boot-config'
76e557d412SChristopher Kiick		timeout_seconds='60' />
77e557d412SChristopher Kiick
78e557d412SChristopher Kiick	<property_group name='startd' type='framework'>
79e557d412SChristopher Kiick		<propval name='duration' type='astring'
80e557d412SChristopher Kiick			value='transient' />
81e557d412SChristopher Kiick	</property_group>
82e557d412SChristopher Kiick
83e557d412SChristopher Kiick	<property_group name='general' type='framework'>
84e557d412SChristopher Kiick		<propval name='action_authorization' type='astring'
85e557d412SChristopher Kiick			value='solaris.system.shutdown' />
86e557d412SChristopher Kiick		<propval name='value_authorization' type='astring'
87e557d412SChristopher Kiick		    value='solaris.system.shutdown' />
88e557d412SChristopher Kiick	</property_group>
89e557d412SChristopher Kiick
90e557d412SChristopher Kiick	<property_group name='config' type='application'>
91e557d412SChristopher Kiick		<stability value='Stable' />
92*abcc7ef9SGangadhar Mylapuram		<propval name='auto-reboot-safe' type='boolean'
933b133becSGangadhar Mylapuram		    value='false' />
94e557d412SChristopher Kiick		<propval name='fastreboot_default' type='boolean'
95e557d412SChristopher Kiick		    value='true' />
96e557d412SChristopher Kiick		<propval name='fastreboot_onpanic' type='boolean'
97e557d412SChristopher Kiick		    value='true' />
98e557d412SChristopher Kiick		<propval name='value_authorization' type='astring'
99e557d412SChristopher Kiick		    value='solaris.system.shutdown' />
100e557d412SChristopher Kiick		<propval name='uadmin_boot_archive_sync' type='boolean'
101e557d412SChristopher Kiick		    value='false' />
102e557d412SChristopher Kiick	</property_group>
103e557d412SChristopher Kiick
104e557d412SChristopher Kiick	<property_group name='fastreboot_blacklist' type='application'>
105e557d412SChristopher Kiick		<stability value='Unstable' />
106e557d412SChristopher Kiick		<property name='platforms' type='astring'>
107e557d412SChristopher Kiick		    <astring_list>
108e557d412SChristopher Kiick			<value_node value='VirtualBox' />
109e557d412SChristopher Kiick			<value_node value='VMware Virtual Platform' />
110e557d412SChristopher Kiick			<value_node value='MCP55' />
111e557d412SChristopher Kiick			<value_node value='Precision WorkStation 650    ' />
112e557d412SChristopher Kiick			<value_node value='PowerEdge 1600SC           ' />
113e557d412SChristopher Kiick		    </astring_list>
114e557d412SChristopher Kiick		</property>
115e557d412SChristopher Kiick	</property_group>
116e557d412SChristopher Kiick	</instance>
117e557d412SChristopher Kiick
118e557d412SChristopher Kiick	<stability value='Stable' />
119e557d412SChristopher Kiick
120e557d412SChristopher Kiick	<template>
121e557d412SChristopher Kiick		<common_name>
122e557d412SChristopher Kiick			<loctext xml:lang='C'>
123e557d412SChristopher Kiick			Boot Configuration Management
124e557d412SChristopher Kiick			</loctext>
125e557d412SChristopher Kiick		</common_name>
126e557d412SChristopher Kiick		<description>
127e557d412SChristopher Kiick			<loctext xml:lang='C'>
128e557d412SChristopher KiickApply the configuration defined in this service by uploading the configuration to the kernel.
129e557d412SChristopher Kiick			</loctext>
130e557d412SChristopher Kiick		</description>
131e557d412SChristopher Kiick		<documentation>
132e557d412SChristopher Kiick			<manpage title='reboot' section='1M'
133e557d412SChristopher Kiick			    manpath='/usr/share/man' />
134e557d412SChristopher Kiick			<manpage title='init' section='1M'
135e557d412SChristopher Kiick			    manpath='/usr/share/man' />
136e557d412SChristopher Kiick			<manpage title='uadmin' section='2'
137e557d412SChristopher Kiick			    manpath='/usr/share/man' />
138e557d412SChristopher Kiick			<manpage title='quiesce' section='9E'
139e557d412SChristopher Kiick			    manpath='/usr/share/man' />
140e557d412SChristopher Kiick		</documentation>
141e557d412SChristopher Kiick		<pg_pattern name='config' type='application'
142e557d412SChristopher Kiick		    required='true'>
143e557d412SChristopher Kiick		    <common_name>
144e557d412SChristopher Kiick			    <loctext xml:lang='C'>
145e557d412SChristopher Kiick			    Boot Configuration Parameters
146e557d412SChristopher Kiick			    </loctext>
147e557d412SChristopher Kiick		    </common_name>
148e557d412SChristopher Kiick		    <description>
149e557d412SChristopher Kiick			<loctext xml:lang='C'>
150e557d412SChristopher KiickParameters for controlling the reboot behavior.
151e557d412SChristopher Kiick			</loctext>
152e557d412SChristopher Kiick		    </description>
153e557d412SChristopher Kiick		    <prop_pattern name='fastreboot_default' type='boolean'
154e557d412SChristopher Kiick			required='true'>
155e557d412SChristopher Kiick			<common_name>
156e557d412SChristopher Kiick			    <loctext xml:lang='C'>
157e557d412SChristopher Kiick			    Fast Reboot by Default
158e557d412SChristopher Kiick			    </loctext>
159e557d412SChristopher Kiick			</common_name>
160e557d412SChristopher Kiick			<description>
161e557d412SChristopher Kiick			    <loctext xml:lang='C'>
162e557d412SChristopher KiickWhen set to true, reboot(1M) and init(1M) 6 will call uadmin(2) with AD_FASTREOOT, which will bypass firmware.
163e557d412SChristopher Kiick			    </loctext>
164e557d412SChristopher Kiick			</description>
165e557d412SChristopher Kiick		    </prop_pattern>
166e557d412SChristopher Kiick		    <prop_pattern name='fastreboot_onpanic' type='boolean'
167e557d412SChristopher Kiick			required='true'>
168e557d412SChristopher Kiick			<common_name>
169e557d412SChristopher Kiick			    <loctext xml:lang='C'>
170e557d412SChristopher Kiick			    Fast Reboot on Panic
171e557d412SChristopher Kiick			    </loctext>
172e557d412SChristopher Kiick			</common_name>
173e557d412SChristopher Kiick			<description>
174e557d412SChristopher Kiick			    <loctext xml:lang='C'>
175e557d412SChristopher KiickWhen set to true, the system will fast reboot on panic.
176e557d412SChristopher Kiick			    </loctext>
177e557d412SChristopher Kiick			</description>
178e557d412SChristopher Kiick		    </prop_pattern>
179e557d412SChristopher Kiick		</pg_pattern>
180e557d412SChristopher Kiick
181e557d412SChristopher Kiick	</template>
182e557d412SChristopher Kiick</service>
183e557d412SChristopher Kiick
184e557d412SChristopher Kiick</service_bundle>
185