xref: /titanic_44/usr/src/cmd/svc/milestone/network-initial.xml (revision 1ae0874509b6811fdde1dfd46f0d93fd09867a3f)
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	ident	"%Z%%M%	%I%	%E% SMI"
28
29	NOTE:  This service manifest is not editable; its contents will
30	be overwritten by package or patch operations, including
31	operating system upgrade.  Make customizations in a different
32	file.
33-->
34
35<service_bundle type='manifest' name='SUNWcsr:network-initial'>
36
37<service
38	name='network/initial'
39	type='service'
40	version='1'>
41
42	<create_default_instance enabled='true' />
43
44	<dependency
45		name='network'
46		grouping='optional_all'
47		restart_on='none'
48		type='service'>
49		<service_fmri value='svc:/milestone/network' />
50	</dependency>
51
52	<dependency
53		name='filesystem'
54		grouping='require_all'
55		restart_on='none'
56		type='service'>
57		<service_fmri value='svc:/system/filesystem/usr' />
58	</dependency>
59
60	<!--
61		This dependency was added to make sure soconfig runs in
62		devices-local method, before routeadm invocation in net-init.
63		This is because routeadm commands depend on sockets.
64	-->
65	<dependency
66		name='devices'
67		grouping='require_all'
68		restart_on='none'
69		type='service'>
70		<service_fmri value='svc:/milestone/devices' />
71	</dependency>
72
73	<dependency
74		name='cryptoframework'
75		grouping='optional_all'
76		restart_on='none'
77		type='service'>
78		<service_fmri value='svc:/system/cryptosvc' />
79	</dependency>
80
81	<exec_method
82		type='method'
83		name='start'
84		exec='/lib/svc/method/net-init start'
85		timeout_seconds='600' />
86
87	<exec_method
88		type='method'
89		name='stop'
90		exec='/lib/svc/method/net-init stop'
91		timeout_seconds='3' />
92
93	<property_group name='startd' type='framework'>
94		<propval name='duration' type='astring' value='transient' />
95	</property_group>
96
97	<stability value='Unstable' />
98
99	<template>
100		<common_name>
101			<loctext xml:lang='C'>
102initial network services
103			</loctext>
104		</common_name>
105		<description>
106			<loctext xml:lang='C'>
107				Initial network services includes
108				configuring IP routing and setting any
109				tunable parameters.
110			</loctext>
111		</description>
112		<documentation>
113			<manpage title='ifconfig' section='1M'
114				manpath='/usr/share/man' />
115		</documentation>
116	</template>
117</service>
118
119</service_bundle>
120