1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2010 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 (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26	NOTE:  This service manifest is not editable; its contents will
27	be overwritten by package or patch operations, including
28	operating system upgrade.  Make customizations in a different
29	file.
30-->
31
32<service_bundle type='manifest' name='SUNWcsr:network-netcfg'>
33
34<service
35	name='network/netcfg'
36	type='service'
37	version='1'>
38
39	<create_default_instance enabled='true' />
40
41	<single_instance />
42
43	<!--
44		NWAM requires netcfgd to retrieve config data, as does the
45		location service.
46	-->
47	<dependent
48		name='nwam_netcfg'
49		grouping='require_all'
50		restart_on='none'>
51		<service_fmri value='svc:/network/physical:nwam' />
52	</dependent>
53
54	<exec_method
55		type='method'
56		name='start'
57		exec='/lib/inet/netcfgd'
58		timeout_seconds='600' >
59		<method_context>
60			<method_credential user='netcfg' group='netadm'
61				privileges='zone'/>
62		</method_context>
63	</exec_method>
64
65	<exec_method
66		type='method'
67		name='stop'
68		exec=':kill'
69		timeout_seconds='3' >
70		<method_context>
71			<method_credential user='netcfg' group='netadm'
72				privileges='zone' />
73		</method_context>
74	</exec_method>
75
76	<exec_method
77		type='method'
78		name='refresh'
79		exec=':true'
80		timeout_seconds='60' >
81	</exec_method>
82
83	<property_group name='netcfgd' type='application' >
84		<propval name='debug' type='boolean' value='false' />
85	</property_group>
86
87	<stability value='Unstable' />
88
89	<template>
90		<common_name>
91			<loctext xml:lang='C'>
92				Network configuration data management
93			</loctext>
94		</common_name>
95		<documentation>
96			<manpage title='netcfgd' section='8'
97				manpath='/usr/share/man' />
98		</documentation>
99	</template>
100
101</service>
102
103</service_bundle>
104