xref: /titanic_50/usr/src/cmd/halt/smf.i386/boot-config.xml (revision 02b4e56ca3a4e4a4fe9e52fca9c2972101f0e57f)
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='trust-bios-boot-device' type='boolean'
94		    value='false' />
95		<propval name='fastreboot_default' type='boolean'
96		    value='true' />
97		<propval name='fastreboot_onpanic' type='boolean'
98		    value='true' />
99		<propval name='value_authorization' type='astring'
100		    value='solaris.system.shutdown' />
101		<propval name='uadmin_boot_archive_sync' type='boolean'
102		    value='false' />
103	</property_group>
104
105	<property_group name='fastreboot_blacklist' type='application'>
106		<stability value='Unstable' />
107		<property name='platforms' type='astring'>
108		    <astring_list>
109			<value_node value='VirtualBox' />
110			<value_node value='VMware Virtual Platform' />
111			<value_node value='MCP55' />
112			<value_node value='Precision WorkStation 650    ' />
113			<value_node value='PowerEdge 1600SC           ' />
114		    </astring_list>
115		</property>
116	</property_group>
117	</instance>
118
119	<stability value='Stable' />
120
121	<template>
122		<common_name>
123			<loctext xml:lang='C'>
124			Boot Configuration Management
125			</loctext>
126		</common_name>
127		<description>
128			<loctext xml:lang='C'>
129Apply the configuration defined in this service by uploading the configuration to the kernel.
130			</loctext>
131		</description>
132		<documentation>
133			<manpage title='reboot' section='1M'
134			    manpath='/usr/share/man' />
135			<manpage title='init' section='1M'
136			    manpath='/usr/share/man' />
137			<manpage title='uadmin' section='2'
138			    manpath='/usr/share/man' />
139			<manpage title='quiesce' section='9E'
140			    manpath='/usr/share/man' />
141		</documentation>
142		<pg_pattern name='config' type='application'
143		    required='true'>
144		    <common_name>
145			    <loctext xml:lang='C'>
146			    Boot Configuration Parameters
147			    </loctext>
148		    </common_name>
149		    <description>
150			<loctext xml:lang='C'>
151Parameters for controlling the reboot behavior.
152			</loctext>
153		    </description>
154		    <prop_pattern name='fastreboot_default' type='boolean'
155			required='true'>
156			<common_name>
157			    <loctext xml:lang='C'>
158			    Fast Reboot by Default
159			    </loctext>
160			</common_name>
161			<description>
162			    <loctext xml:lang='C'>
163When set to true, reboot(1M) and init(1M) 6 will call uadmin(2) with AD_FASTREOOT, which will bypass firmware.
164			    </loctext>
165			</description>
166		    </prop_pattern>
167		    <prop_pattern name='fastreboot_onpanic' type='boolean'
168			required='true'>
169			<common_name>
170			    <loctext xml:lang='C'>
171			    Fast Reboot on Panic
172			    </loctext>
173			</common_name>
174			<description>
175			    <loctext xml:lang='C'>
176When set to true, the system will fast reboot on panic.
177			    </loctext>
178			</description>
179		    </prop_pattern>
180		</pg_pattern>
181
182	</template>
183</service>
184
185</service_bundle>
186