1753a6d45SSherry Moore<?xml version="1.0"?>
2753a6d45SSherry Moore<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3753a6d45SSherry Moore<!--
4abcc7ef9SGangadhar Mylapuram Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
5753a6d45SSherry Moore
6753a6d45SSherry Moore CDDL HEADER START
7753a6d45SSherry Moore
8753a6d45SSherry Moore The contents of this file are subject to the terms of the
9753a6d45SSherry Moore Common Development and Distribution License (the "License").
10753a6d45SSherry Moore You may not use this file except in compliance with the License.
11753a6d45SSherry Moore
12753a6d45SSherry Moore You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13753a6d45SSherry Moore or http://www.opensolaris.org/os/licensing.
14753a6d45SSherry Moore See the License for the specific language governing permissions
15753a6d45SSherry Moore and limitations under the License.
16753a6d45SSherry Moore
17753a6d45SSherry Moore When distributing Covered Code, include this CDDL HEADER in each
18753a6d45SSherry Moore file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19753a6d45SSherry Moore If applicable, add the following below this CDDL HEADER, with the
20753a6d45SSherry Moore fields enclosed by brackets "[]" replaced with your own identifying
21753a6d45SSherry Moore information: Portions Copyright [yyyy] [name of copyright owner]
22753a6d45SSherry Moore
23753a6d45SSherry Moore CDDL HEADER END
24753a6d45SSherry Moore
25753a6d45SSherry Moore    NOTE:  This service manifest is not editable; its contents will
26753a6d45SSherry Moore    be overwritten by package or patch operations, including
27753a6d45SSherry Moore    operating system upgrade.  Make customizations in a different
28753a6d45SSherry Moore    file.
29753a6d45SSherry Moore-->
30753a6d45SSherry Moore
31753a6d45SSherry Moore<service_bundle type='manifest' name='SUNWcsr:boot-config'>
32753a6d45SSherry Moore
33753a6d45SSherry Moore<service
34753a6d45SSherry Moore	name='system/boot-config'
35753a6d45SSherry Moore	type='service'
36753a6d45SSherry Moore	version='1'>
37753a6d45SSherry Moore
38753a6d45SSherry Moore	<single_instance />
39753a6d45SSherry Moore
40753a6d45SSherry Moore	<dependency
41753a6d45SSherry Moore		name='manifest_import'
42753a6d45SSherry Moore		grouping='optional_all'
43753a6d45SSherry Moore		restart_on='none'
44753a6d45SSherry Moore		type='service'>
45753a6d45SSherry Moore		<service_fmri value='svc:/system/manifest-import:default' />
46753a6d45SSherry Moore	</dependency>
47753a6d45SSherry Moore
48753a6d45SSherry Moore	<!-- The boot-config service is made to depend on milestone
49753a6d45SSherry Moore	multi-user to minimize the chance for panic reboot loop. -->
50753a6d45SSherry Moore	<dependency
51753a6d45SSherry Moore		name='boot_multi-user'
52753a6d45SSherry Moore		grouping='optional_all'
53753a6d45SSherry Moore		restart_on='none'
54753a6d45SSherry Moore		type='service'>
55753a6d45SSherry Moore		<service_fmri value='svc:/milestone/multi-user' />
56753a6d45SSherry Moore	</dependency>
57753a6d45SSherry Moore
58753a6d45SSherry Moore	<instance name='default' enabled = 'true'>
59753a6d45SSherry Moore
60753a6d45SSherry Moore	<exec_method
61753a6d45SSherry Moore		type='method'
62753a6d45SSherry Moore		name='start'
63753a6d45SSherry Moore		exec='/lib/svc/method/svc-boot-config'
64753a6d45SSherry Moore		timeout_seconds='60' />
65753a6d45SSherry Moore
66753a6d45SSherry Moore	<exec_method
67753a6d45SSherry Moore		type='method'
68753a6d45SSherry Moore		name='stop'
69753a6d45SSherry Moore		exec=':true'
70753a6d45SSherry Moore		timeout_seconds='60' />
71753a6d45SSherry Moore
72753a6d45SSherry Moore	<exec_method
73753a6d45SSherry Moore		type='method'
74753a6d45SSherry Moore		name='refresh'
75753a6d45SSherry Moore		exec='/lib/svc/method/svc-boot-config'
76753a6d45SSherry Moore		timeout_seconds='60' />
77753a6d45SSherry Moore
78753a6d45SSherry Moore	<property_group name='startd' type='framework'>
79753a6d45SSherry Moore		<propval name='duration' type='astring'
80753a6d45SSherry Moore			value='transient' />
81753a6d45SSherry Moore	</property_group>
82753a6d45SSherry Moore
83753a6d45SSherry Moore	<property_group name='general' type='framework'>
84753a6d45SSherry Moore		<propval name='action_authorization' type='astring'
85753a6d45SSherry Moore			value='solaris.system.shutdown' />
86753a6d45SSherry Moore		<propval name='value_authorization' type='astring'
87753a6d45SSherry Moore		    value='solaris.system.shutdown' />
88753a6d45SSherry Moore	</property_group>
89753a6d45SSherry Moore
90753a6d45SSherry Moore	<property_group name='config' type='application'>
91753a6d45SSherry Moore		<stability value='Stable' />
92abcc7ef9SGangadhar Mylapuram		<propval name='auto-reboot-safe' type='boolean'
93*bbf21555SRichard Lowe		    value='false' />
94753a6d45SSherry Moore		<propval name='fastreboot_default' type='boolean'
95753a6d45SSherry Moore		    value='true' />
96753a6d45SSherry Moore		<propval name='fastreboot_onpanic' type='boolean'
97753a6d45SSherry Moore		    value='true' />
98753a6d45SSherry Moore		<propval name='value_authorization' type='astring'
99753a6d45SSherry Moore		    value='solaris.system.shutdown' />
100050c4bfeSGangadhar Mylapuram		<propval name='uadmin_boot_archive_sync' type='boolean'
101*bbf21555SRichard Lowe		    value='false' />
102753a6d45SSherry Moore	</property_group>
103753a6d45SSherry Moore
104753a6d45SSherry Moore	<property_group name='fastreboot_blacklist' type='application'>
105753a6d45SSherry Moore		<stability value='Unstable' />
106753a6d45SSherry Moore		<property name='platforms' type='astring'>
107753a6d45SSherry Moore		    <astring_list>
108753a6d45SSherry Moore			<value_node value='VirtualBox' />
109753a6d45SSherry Moore			<value_node value='VMware Virtual Platform' />
110753a6d45SSherry Moore			<value_node value='MCP55' />
1116f6e93d4SWilliam Kucharski			<value_node value='Precision WorkStation 650    ' />
112fbe8965dSDana Myers			<value_node value='PowerEdge 1600SC           ' />
113753a6d45SSherry Moore		    </astring_list>
114753a6d45SSherry Moore		</property>
115753a6d45SSherry Moore	</property_group>
116753a6d45SSherry Moore	</instance>
117753a6d45SSherry Moore
118753a6d45SSherry Moore	<stability value='Stable' />
119753a6d45SSherry Moore
120753a6d45SSherry Moore	<template>
121753a6d45SSherry Moore		<common_name>
122753a6d45SSherry Moore			<loctext xml:lang='C'>
123753a6d45SSherry Moore			Boot Configuration Management
124753a6d45SSherry Moore			</loctext>
125753a6d45SSherry Moore		</common_name>
126753a6d45SSherry Moore		<description>
127753a6d45SSherry Moore			<loctext xml:lang='C'>
128753a6d45SSherry MooreApply the configuration defined in this service by uploading the configuration to the kernel.
129753a6d45SSherry Moore			</loctext>
130753a6d45SSherry Moore		</description>
131753a6d45SSherry Moore		<documentation>
132*bbf21555SRichard Lowe			<manpage title='reboot' section='8'
133753a6d45SSherry Moore			    manpath='/usr/share/man' />
134*bbf21555SRichard Lowe			<manpage title='init' section='8'
135753a6d45SSherry Moore			    manpath='/usr/share/man' />
136753a6d45SSherry Moore			<manpage title='uadmin' section='2'
137753a6d45SSherry Moore			    manpath='/usr/share/man' />
138753a6d45SSherry Moore			<manpage title='quiesce' section='9E'
139753a6d45SSherry Moore			    manpath='/usr/share/man' />
140753a6d45SSherry Moore		</documentation>
141753a6d45SSherry Moore		<pg_pattern name='config' type='application'
142753a6d45SSherry Moore		    required='true'>
143753a6d45SSherry Moore		    <common_name>
144753a6d45SSherry Moore			    <loctext xml:lang='C'>
145753a6d45SSherry Moore			    Boot Configuration Parameters
146753a6d45SSherry Moore			    </loctext>
147753a6d45SSherry Moore		    </common_name>
148753a6d45SSherry Moore		    <description>
149753a6d45SSherry Moore			<loctext xml:lang='C'>
150753a6d45SSherry MooreParameters for controlling the reboot behavior.
151753a6d45SSherry Moore			</loctext>
152753a6d45SSherry Moore		    </description>
153753a6d45SSherry Moore		    <prop_pattern name='fastreboot_default' type='boolean'
154753a6d45SSherry Moore			required='true'>
155753a6d45SSherry Moore			<common_name>
156753a6d45SSherry Moore			    <loctext xml:lang='C'>
157753a6d45SSherry Moore			    Fast Reboot by Default
158753a6d45SSherry Moore			    </loctext>
159753a6d45SSherry Moore			</common_name>
160753a6d45SSherry Moore			<description>
161753a6d45SSherry Moore			    <loctext xml:lang='C'>
162*bbf21555SRichard LoweWhen set to true, reboot(8) and init(8) 6 will call uadmin(2) with AD_FASTREOOT, which will bypass firmware.
163753a6d45SSherry Moore			    </loctext>
164753a6d45SSherry Moore			</description>
165753a6d45SSherry Moore		    </prop_pattern>
166753a6d45SSherry Moore		    <prop_pattern name='fastreboot_onpanic' type='boolean'
167753a6d45SSherry Moore			required='true'>
168753a6d45SSherry Moore			<common_name>
169753a6d45SSherry Moore			    <loctext xml:lang='C'>
170753a6d45SSherry Moore			    Fast Reboot on Panic
171753a6d45SSherry Moore			    </loctext>
172753a6d45SSherry Moore			</common_name>
173753a6d45SSherry Moore			<description>
174753a6d45SSherry Moore			    <loctext xml:lang='C'>
175753a6d45SSherry MooreWhen set to true, the system will fast reboot on panic.
176753a6d45SSherry Moore			    </loctext>
177753a6d45SSherry Moore			</description>
178753a6d45SSherry Moore		    </prop_pattern>
179753a6d45SSherry Moore		</pg_pattern>
180753a6d45SSherry Moore
181753a6d45SSherry Moore	</template>
182753a6d45SSherry Moore</service>
183753a6d45SSherry Moore
184753a6d45SSherry Moore</service_bundle>
185