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