<?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <!-- Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. CDDL HEADER START The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] CDDL HEADER END NOTE: This service manifest is not editable; its contents will be overwritten by package or patch operations, including operating system upgrade. Make customizations in a different file. --> <service_bundle type='manifest' name='SUNWcsr:boot-config'> <service name='system/boot-config' type='service' version='1'> <single_instance /> <dependency name='manifest_import' grouping='optional_all' restart_on='none' type='service'> <service_fmri value='svc:/system/manifest-import:default' /> </dependency> <!-- The boot-config service is made to depend on milestone multi-user to minimize the chance for panic reboot loop. --> <dependency name='boot_multi-user' grouping='optional_all' restart_on='none' type='service'> <service_fmri value='svc:/milestone/multi-user' /> </dependency> <instance name='default' enabled = 'true'> <exec_method type='method' name='start' exec='/lib/svc/method/svc-boot-config' timeout_seconds='60' /> <exec_method type='method' name='stop' exec=':true' timeout_seconds='60' /> <exec_method type='method' name='refresh' exec='/lib/svc/method/svc-boot-config' timeout_seconds='60' /> <property_group name='startd' type='framework'> <propval name='duration' type='astring' value='transient' /> </property_group> <property_group name='general' type='framework'> <propval name='action_authorization' type='astring' value='solaris.system.shutdown' /> <propval name='value_authorization' type='astring' value='solaris.system.shutdown' /> </property_group> <property_group name='config' type='application'> <stability value='Stable' /> <propval name='auto-reboot-safe' type='boolean' value='false' /> <propval name='fastreboot_default' type='boolean' value='true' /> <propval name='fastreboot_onpanic' type='boolean' value='true' /> <propval name='value_authorization' type='astring' value='solaris.system.shutdown' /> <propval name='uadmin_boot_archive_sync' type='boolean' value='false' /> </property_group> <property_group name='fastreboot_blacklist' type='application'> <stability value='Unstable' /> <property name='platforms' type='astring'> <astring_list> <value_node value='VirtualBox' /> <value_node value='VMware Virtual Platform' /> <value_node value='MCP55' /> <value_node value='Precision WorkStation 650 ' /> <value_node value='PowerEdge 1600SC ' /> </astring_list> </property> </property_group> </instance> <stability value='Stable' /> <template> <common_name> <loctext xml:lang='C'> Boot Configuration Management </loctext> </common_name> <description> <loctext xml:lang='C'> Apply the configuration defined in this service by uploading the configuration to the kernel. </loctext> </description> <documentation> <manpage title='reboot' section='1M' manpath='/usr/share/man' /> <manpage title='init' section='1M' manpath='/usr/share/man' /> <manpage title='uadmin' section='2' manpath='/usr/share/man' /> <manpage title='quiesce' section='9E' manpath='/usr/share/man' /> </documentation> <pg_pattern name='config' type='application' required='true'> <common_name> <loctext xml:lang='C'> Boot Configuration Parameters </loctext> </common_name> <description> <loctext xml:lang='C'> Parameters for controlling the reboot behavior. </loctext> </description> <prop_pattern name='fastreboot_default' type='boolean' required='true'> <common_name> <loctext xml:lang='C'> Fast Reboot by Default </loctext> </common_name> <description> <loctext xml:lang='C'> When set to true, reboot(1M) and init(1M) 6 will call uadmin(2) with AD_FASTREOOT, which will bypass firmware. </loctext> </description> </prop_pattern> <prop_pattern name='fastreboot_onpanic' type='boolean' required='true'> <common_name> <loctext xml:lang='C'> Fast Reboot on Panic </loctext> </common_name> <description> <loctext xml:lang='C'> When set to true, the system will fast reboot on panic. </loctext> </description> </prop_pattern> </pg_pattern> </template> </service> </service_bundle>