xref: /illumos-gate/usr/src/cmd/hotplugd/hotplug.xml (revision 82ae1648ab152f127ab6c9a6bdbea9e0a589a488)
126947304SEvan Yan<?xml version="1.0"?>
226947304SEvan Yan<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
326947304SEvan Yan<!--
426947304SEvan Yan CDDL HEADER START
526947304SEvan Yan
626947304SEvan Yan The contents of this file are subject to the terms of the
726947304SEvan Yan Common Development and Distribution License (the "License").
826947304SEvan Yan You may not use this file except in compliance with the License.
926947304SEvan Yan
1026947304SEvan Yan You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1126947304SEvan Yan or http://www.opensolaris.org/os/licensing.
1226947304SEvan Yan See the License for the specific language governing permissions
1326947304SEvan Yan and limitations under the License.
1426947304SEvan Yan
1526947304SEvan Yan When distributing Covered Code, include this CDDL HEADER in each
1626947304SEvan Yan file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1726947304SEvan Yan If applicable, add the following below this CDDL HEADER, with the
1826947304SEvan Yan fields enclosed by brackets "[]" replaced with your own identifying
1926947304SEvan Yan information: Portions Copyright [yyyy] [name of copyright owner]
2026947304SEvan Yan
2126947304SEvan Yan CDDL HEADER END
2226947304SEvan Yan
2326947304SEvan Yan	Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2426947304SEvan Yan	Use is subject to license terms.
2526947304SEvan Yan
2626947304SEvan Yan	NOTE:  This service manifest is not editable; its contents will
2726947304SEvan Yan	be overwritten by package or patch operations, including
2826947304SEvan Yan	operating system upgrade.  Make customizations in a different
2926947304SEvan Yan	file.
3026947304SEvan Yan-->
3126947304SEvan Yan
3226947304SEvan Yan<service_bundle type='manifest' name='SUNWcsr:hotplug'>
3326947304SEvan Yan
3426947304SEvan Yan<service
3526947304SEvan Yan	name='system/hotplug'
3626947304SEvan Yan	type='service'
3726947304SEvan Yan	version='1'>
3826947304SEvan Yan
3926947304SEvan Yan	<create_default_instance enabled='false' />
4026947304SEvan Yan
4126947304SEvan Yan	<single_instance/>
4226947304SEvan Yan
4326947304SEvan Yan	<dependency name='device'
4426947304SEvan Yan		type='service'
4526947304SEvan Yan		grouping='require_all'
4626947304SEvan Yan		restart_on='none'>
4726947304SEvan Yan		<service_fmri value='svc:/system/device/local' />
4826947304SEvan Yan	</dependency>
4926947304SEvan Yan
5026947304SEvan Yan	<dependency name='usr'
5126947304SEvan Yan		type='service'
5226947304SEvan Yan		grouping='require_all'
5326947304SEvan Yan		restart_on='none'>
5426947304SEvan Yan		<service_fmri value='svc:/system/filesystem/local' />
5526947304SEvan Yan	</dependency>
5626947304SEvan Yan
5726947304SEvan Yan	<exec_method
5826947304SEvan Yan		type='method'
5926947304SEvan Yan		name='start'
6026947304SEvan Yan		exec='/lib/svc/method/svc-hotplug'
6126947304SEvan Yan		timeout_seconds='30'>
62*82ae1648SAndy Fiddaman		<method_context working_directory='/'>
6326947304SEvan Yan			<method_credential user='root' group='root' />
6426947304SEvan Yan		</method_context>
6526947304SEvan Yan	</exec_method>
6626947304SEvan Yan
6726947304SEvan Yan	<exec_method
6826947304SEvan Yan		type='method'
6926947304SEvan Yan		name='stop'
7026947304SEvan Yan		exec=':kill'
7126947304SEvan Yan		timeout_seconds='30'>
7226947304SEvan Yan	</exec_method>
7326947304SEvan Yan
7426947304SEvan Yan	<property_group name='general' type='framework'>
7526947304SEvan Yan		<propval name='action_authorization' type='astring'
7626947304SEvan Yan			value='solaris.smf.manage.hotplug' />
7726947304SEvan Yan		<propval name='value_authorization' type='astring'
7826947304SEvan Yan			value='solaris.smf.manage.hotplug' />
7926947304SEvan Yan	</property_group>
8026947304SEvan Yan
8126947304SEvan Yan	<stability value='Unstable' />
8226947304SEvan Yan
8326947304SEvan Yan	<template>
8426947304SEvan Yan		<common_name>
8526947304SEvan Yan			<loctext xml:lang='C'>
8626947304SEvan Yan			hotplug daemon
8726947304SEvan Yan			</loctext>
8826947304SEvan Yan		</common_name>
8926947304SEvan Yan		<documentation>
90bbf21555SRichard Lowe			<manpage title='hotplugd' section='8'
9126947304SEvan Yan				manpath='/usr/share/man' />
9226947304SEvan Yan		</documentation>
9326947304SEvan Yan	</template>
9426947304SEvan Yan</service>
9526947304SEvan Yan
9626947304SEvan Yan</service_bundle>
97