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