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