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