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