xref: /illumos-gate/usr/src/cmd/svc/milestone/devices-local.xml (revision 6446bd46ed1b4e9f69da153665f82181ccaedad5)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License, Version 1.0 only
11 (the "License").  You may not use this file except in compliance
12 with the License.
13
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
18
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
24
25 CDDL HEADER END
26
27	NOTE:  This service manifest is not editable; its contents will
28	be overwritten by package or patch operations, including
29	operating system upgrade.  Make customizations in a different
30	file.
31-->
32
33<service_bundle type='manifest' name='SUNWcsr:devices-system'>
34
35<service
36	name='system/device/local'
37	type='service'
38	version='1'>
39
40	<create_default_instance enabled='true' />
41
42	<single_instance/>
43
44        <dependency
45                name='usr'
46                grouping='require_all'
47                restart_on='none'
48                type='service'>
49                <service_fmri value='svc:/system/filesystem/usr' />
50        </dependency>
51
52	<!--
53	  Start method timeout is long to account for devices which
54	  take a long time to probe or enumerate.
55	-->
56	<exec_method
57		type='method'
58		name='start'
59		exec='/lib/svc/method/devices-local'
60		timeout_seconds='6000' />
61
62	<exec_method
63		type='method'
64		name='stop'
65		exec=':true'
66		timeout_seconds='3' />
67
68	<property_group name='startd' type='framework'>
69		<propval name='duration' type='astring'
70			value='transient' />
71	</property_group>
72
73	<stability value='Evolving' />
74
75	<template>
76		<common_name>
77			<loctext xml:lang='C'>
78				standard device configuration.
79			</loctext>
80		</common_name>
81	</template>
82</service>
83
84<service
85	name='milestone/devices'
86	type='service'
87	version='1'>
88
89	<create_default_instance enabled='true' />
90
91	<single_instance/>
92
93        <dependency
94                name='usr'
95                grouping='require_all'
96                restart_on='none'
97                type='service'>
98                <service_fmri value='svc:/system/device/local' />
99        </dependency>
100
101
102	<exec_method
103		type='method'
104		name='start'
105		exec=':true'
106		timeout_seconds='3' />
107
108	<exec_method
109		type='method'
110		name='stop'
111		exec=':true'
112		timeout_seconds='3' />
113
114	<property_group name='general' type='framework'>
115		<propval name='startd_duration' type='astring'
116			value='transient' />
117	</property_group>
118
119	<stability value='Evolving' />
120
121	<template>
122		<common_name>
123			<loctext xml:lang='C'>
124				device configuration milestone
125			</loctext>
126		</common_name>
127	</template>
128</service>
129
130</service_bundle>
131