1*269f47deSThuy Fettig<?xml version="1.0"?> 2*269f47deSThuy Fettig<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3*269f47deSThuy Fettig<!-- 4*269f47deSThuy Fettig 5*269f47deSThuy Fettig CDDL HEADER START 6*269f47deSThuy Fettig 7*269f47deSThuy Fettig The contents of this file are subject to the terms of the 8*269f47deSThuy Fettig Common Development and Distribution License (the "License"). 9*269f47deSThuy Fettig You may not use this file except in compliance with the License. 10*269f47deSThuy Fettig 11*269f47deSThuy Fettig You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 12*269f47deSThuy Fettig or http://www.opensolaris.org/os/licensing. 13*269f47deSThuy Fettig See the License for the specific language governing permissions 14*269f47deSThuy Fettig and limitations under the License. 15*269f47deSThuy Fettig 16*269f47deSThuy Fettig When distributing Covered Code, include this CDDL HEADER in each 17*269f47deSThuy Fettig file and include the License file at usr/src/OPENSOLARIS.LICENSE. 18*269f47deSThuy Fettig If applicable, add the following below this CDDL HEADER, with the 19*269f47deSThuy Fettig fields enclosed by brackets "[]" replaced with your own identifying 20*269f47deSThuy Fettig information: Portions Copyright [yyyy] [name of copyright owner] 21*269f47deSThuy Fettig 22*269f47deSThuy Fettig CDDL HEADER END 23*269f47deSThuy Fettig 24*269f47deSThuy Fettig Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 25*269f47deSThuy Fettig 26*269f47deSThuy Fettig NOTE: This service manifest is not editable; its contents will 27*269f47deSThuy Fettig be overwritten by package or patch operations, including 28*269f47deSThuy Fettig operating system upgrade. Make customizations in a different 29*269f47deSThuy Fettig file. 30*269f47deSThuy Fettig--> 31*269f47deSThuy Fettig 32*269f47deSThuy Fettig<service_bundle type='manifest' name='SUNWcs:allocate'> 33*269f47deSThuy Fettig 34*269f47deSThuy Fettig<service 35*269f47deSThuy Fettig name='system/device/allocate' 36*269f47deSThuy Fettig type='service' 37*269f47deSThuy Fettig version='1'> 38*269f47deSThuy Fettig 39*269f47deSThuy Fettig <create_default_instance enabled='false' /> 40*269f47deSThuy Fettig 41*269f47deSThuy Fettig <single_instance/> 42*269f47deSThuy Fettig 43*269f47deSThuy Fettig <dependency 44*269f47deSThuy Fettig name='usr' 45*269f47deSThuy Fettig grouping='require_all' 46*269f47deSThuy Fettig restart_on='none' 47*269f47deSThuy Fettig type='service'> 48*269f47deSThuy Fettig <service_fmri value='svc:/system/device/local' /> 49*269f47deSThuy Fettig </dependency> 50*269f47deSThuy Fettig 51*269f47deSThuy Fettig <!-- 52*269f47deSThuy Fettig Start method timeout is long to account for devices which 53*269f47deSThuy Fettig take a long time to probe or enumerate. 54*269f47deSThuy Fettig --> 55*269f47deSThuy Fettig <exec_method 56*269f47deSThuy Fettig type='method' 57*269f47deSThuy Fettig name='start' 58*269f47deSThuy Fettig exec='/lib/svc/method/svc-allocate %m' 59*269f47deSThuy Fettig timeout_seconds='60' /> 60*269f47deSThuy Fettig 61*269f47deSThuy Fettig <exec_method 62*269f47deSThuy Fettig type='method' 63*269f47deSThuy Fettig name='stop' 64*269f47deSThuy Fettig exec='/lib/svc/method/svc-allocate %m' 65*269f47deSThuy Fettig timeout_seconds='60' /> 66*269f47deSThuy Fettig 67*269f47deSThuy Fettig <property_group name='startd' type='framework'> 68*269f47deSThuy Fettig <propval name='duration' type='astring' 69*269f47deSThuy Fettig value='transient' /> 70*269f47deSThuy Fettig </property_group> 71*269f47deSThuy Fettig 72*269f47deSThuy Fettig <property_group name='general' type='framework'> 73*269f47deSThuy Fettig <propval name='action_authorization' type='astring' 74*269f47deSThuy Fettig value='solaris.smf.manage.allocate' /> 75*269f47deSThuy Fettig <propval name='value_authorization' type='astring' 76*269f47deSThuy Fettig value='solaris.smf.manage.allocate' /> 77*269f47deSThuy Fettig </property_group> 78*269f47deSThuy Fettig 79*269f47deSThuy Fettig <stability value='Stable' /> 80*269f47deSThuy Fettig 81*269f47deSThuy Fettig <template> 82*269f47deSThuy Fettig <common_name> 83*269f47deSThuy Fettig <loctext xml:lang='C'> 84*269f47deSThuy Fettig device allocation 85*269f47deSThuy Fettig </loctext> 86*269f47deSThuy Fettig </common_name> 87*269f47deSThuy Fettig <documentation> 88*269f47deSThuy Fettig <manpage title='allocate' section='1' manpath='/usr/share/man' /> 89*269f47deSThuy Fettig <manpage title='deallocate' section='1' manpath='/usr/share/man' /> 90*269f47deSThuy Fettig <manpage title='list_devices' section='1' manpath='/usr/share/man' /> 91*269f47deSThuy Fettig <manpage title='device_allocate' section='1M' manpath='/usr/share/man' /> 92*269f47deSThuy Fettig <manpage title='mkdevalloc' section='1M' manpath='/usr/share/man' /> 93*269f47deSThuy Fettig <manpage title='mkdevmaps' section='1M' manpath='/usr/share/man' /> 94*269f47deSThuy Fettig <manpage title='dminfo' section='1M' manpath='/usr/share/man' /> 95*269f47deSThuy Fettig <manpage title='device_maps' section='4' manpath='/usr/share/man' /> 96*269f47deSThuy Fettig <manpage title='device_allocate' section='4' manpath='/usr/share/man' /> 97*269f47deSThuy Fettig </documentation> 98*269f47deSThuy Fettig </template> 99*269f47deSThuy Fettig</service> 100*269f47deSThuy Fettig 101*269f47deSThuy Fettig</service_bundle> 102