1*4bff34e3Sthurlow<?xml version="1.0"?>
2*4bff34e3Sthurlow<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*4bff34e3Sthurlow<!--
4*4bff34e3Sthurlow Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5*4bff34e3Sthurlow Use is subject to license terms.
6*4bff34e3Sthurlow
7*4bff34e3Sthurlow CDDL HEADER START
8*4bff34e3Sthurlow
9*4bff34e3Sthurlow The contents of this file are subject to the terms of the
10*4bff34e3Sthurlow Common Development and Distribution License (the "License").
11*4bff34e3Sthurlow You may not use this file except in compliance with the License.
12*4bff34e3Sthurlow
13*4bff34e3Sthurlow You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*4bff34e3Sthurlow or http://www.opensolaris.org/os/licensing.
15*4bff34e3Sthurlow See the License for the specific language governing permissions
16*4bff34e3Sthurlow and limitations under the License.
17*4bff34e3Sthurlow
18*4bff34e3Sthurlow When distributing Covered Code, include this CDDL HEADER in each
19*4bff34e3Sthurlow file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*4bff34e3Sthurlow If applicable, add the following below this CDDL HEADER, with the
21*4bff34e3Sthurlow fields enclosed by brackets "[]" replaced with your own identifying
22*4bff34e3Sthurlow information: Portions Copyright [yyyy] [name of copyright owner]
23*4bff34e3Sthurlow
24*4bff34e3Sthurlow CDDL HEADER END
25*4bff34e3Sthurlow
26*4bff34e3Sthurlow	ident	"%Z%%M%	%I%	%E% SMI"
27*4bff34e3Sthurlow
28*4bff34e3Sthurlow	NOTE:  This service manifest is not editable; its contents will
29*4bff34e3Sthurlow	be overwritten by package or patch operations, including
30*4bff34e3Sthurlow	operating system upgrade.  Make customizations in a different
31*4bff34e3Sthurlow	file.
32*4bff34e3Sthurlow-->
33*4bff34e3Sthurlow
34*4bff34e3Sthurlow<service_bundle type='manifest' name='SUNWsmbfsr:smb-client'>
35*4bff34e3Sthurlow
36*4bff34e3Sthurlow<service
37*4bff34e3Sthurlow	name='network/smb/client'
38*4bff34e3Sthurlow	type='service'
39*4bff34e3Sthurlow	version='1'>
40*4bff34e3Sthurlow
41*4bff34e3Sthurlow	<create_default_instance enabled='false' />
42*4bff34e3Sthurlow
43*4bff34e3Sthurlow	<single_instance />
44*4bff34e3Sthurlow
45*4bff34e3Sthurlow	<dependency name='network'
46*4bff34e3Sthurlow	    grouping='require_any'
47*4bff34e3Sthurlow	    restart_on='error'
48*4bff34e3Sthurlow	    type='service'>
49*4bff34e3Sthurlow		<service_fmri value='svc:/milestone/network' />
50*4bff34e3Sthurlow	</dependency>
51*4bff34e3Sthurlow
52*4bff34e3Sthurlow	<dependency name='gss'
53*4bff34e3Sthurlow	    grouping='optional_all'
54*4bff34e3Sthurlow	    restart_on='none'
55*4bff34e3Sthurlow	    type='service'>
56*4bff34e3Sthurlow		<service_fmri value='svc:/network/rpc/gss' />
57*4bff34e3Sthurlow	</dependency>
58*4bff34e3Sthurlow
59*4bff34e3Sthurlow	<dependency name='name-services'
60*4bff34e3Sthurlow	    grouping='require_all'
61*4bff34e3Sthurlow	    restart_on='refresh'
62*4bff34e3Sthurlow	    type='service'>
63*4bff34e3Sthurlow		<service_fmri value='svc:/milestone/name-services' />
64*4bff34e3Sthurlow	</dependency>
65*4bff34e3Sthurlow
66*4bff34e3Sthurlow	<dependent
67*4bff34e3Sthurlow		name='smb-client_multi-user'
68*4bff34e3Sthurlow		grouping='optional_all'
69*4bff34e3Sthurlow		restart_on='none'>
70*4bff34e3Sthurlow		<service_fmri value='svc:/milestone/multi-user' />
71*4bff34e3Sthurlow	</dependent>
72*4bff34e3Sthurlow
73*4bff34e3Sthurlow	<!--
74*4bff34e3Sthurlow	  Err on the side of caution for the mountalls in the smb-client
75*4bff34e3Sthurlow	  startup script.  Don't timeout just because remote servers are
76*4bff34e3Sthurlow	  being sluggish.
77*4bff34e3Sthurlow	-->
78*4bff34e3Sthurlow	<exec_method
79*4bff34e3Sthurlow	    type='method'
80*4bff34e3Sthurlow	    name='start'
81*4bff34e3Sthurlow	    exec='/lib/svc/method/smb-client %m'
82*4bff34e3Sthurlow	    timeout_seconds='300' />
83*4bff34e3Sthurlow
84*4bff34e3Sthurlow	<exec_method
85*4bff34e3Sthurlow	    type='method'
86*4bff34e3Sthurlow	    name='stop'
87*4bff34e3Sthurlow	    exec='/lib/svc/method/smb-client %m'
88*4bff34e3Sthurlow	    timeout_seconds='60' />
89*4bff34e3Sthurlow
90*4bff34e3Sthurlow        <property_group name='general' type='framework'>
91*4bff34e3Sthurlow                <!-- To Start/Stop/Refresh the service -->
92*4bff34e3Sthurlow                <propval name='action_authorization' type='astring'
93*4bff34e3Sthurlow                        value='solaris.smf.manage.smbfs' />
94*4bff34e3Sthurlow        </property_group>
95*4bff34e3Sthurlow
96*4bff34e3Sthurlow	<property_group
97*4bff34e3Sthurlow	    name='startd'
98*4bff34e3Sthurlow	    type='framework'>
99*4bff34e3Sthurlow		<propval name='duration' type='astring' value='transient' />
100*4bff34e3Sthurlow	</property_group>
101*4bff34e3Sthurlow
102*4bff34e3Sthurlow	<stability value='Unstable' />
103*4bff34e3Sthurlow
104*4bff34e3Sthurlow	<template>
105*4bff34e3Sthurlow		<common_name>
106*4bff34e3Sthurlow			<loctext xml:lang='C'>
107*4bff34e3Sthurlow			SMB client
108*4bff34e3Sthurlow			</loctext>
109*4bff34e3Sthurlow		</common_name>
110*4bff34e3Sthurlow		<documentation>
111*4bff34e3Sthurlow			<manpage title='mount_smbfs' section='1M'
112*4bff34e3Sthurlow				manpath='/usr/share/man' />
113*4bff34e3Sthurlow		</documentation>
114*4bff34e3Sthurlow	</template>
115*4bff34e3Sthurlow</service>
116*4bff34e3Sthurlow
117*4bff34e3Sthurlow</service_bundle>
118