1*7c478bd9Sstevel@tonic-gate<?xml version='1.0'?>
2*7c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3*7c478bd9Sstevel@tonic-gate
4*7c478bd9Sstevel@tonic-gate<!--
5*7c478bd9Sstevel@tonic-gate Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
6*7c478bd9Sstevel@tonic-gate Use is subject to license terms.
7*7c478bd9Sstevel@tonic-gate
8*7c478bd9Sstevel@tonic-gate CDDL HEADER START
9*7c478bd9Sstevel@tonic-gate
10*7c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
11*7c478bd9Sstevel@tonic-gate Common Development and Distribution License, Version 1.0 only
12*7c478bd9Sstevel@tonic-gate (the "License").  You may not use this file except in compliance
13*7c478bd9Sstevel@tonic-gate with the License.
14*7c478bd9Sstevel@tonic-gate
15*7c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16*7c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
17*7c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
18*7c478bd9Sstevel@tonic-gate and limitations under the License.
19*7c478bd9Sstevel@tonic-gate
20*7c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
21*7c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
22*7c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
23*7c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
24*7c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gate CDDL HEADER END
27*7c478bd9Sstevel@tonic-gate
28*7c478bd9Sstevel@tonic-gate	ident	"%Z%%M%	%I%	%E% SMI"
29*7c478bd9Sstevel@tonic-gate
30*7c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
31*7c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
32*7c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
33*7c478bd9Sstevel@tonic-gate	file.
34*7c478bd9Sstevel@tonic-gate
35*7c478bd9Sstevel@tonic-gate	Service manifests for discard
36*7c478bd9Sstevel@tonic-gate-->
37*7c478bd9Sstevel@tonic-gate
38*7c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcnsr:discard'>
39*7c478bd9Sstevel@tonic-gate
40*7c478bd9Sstevel@tonic-gate<service name='network/discard' type='service' version='1'>
41*7c478bd9Sstevel@tonic-gate
42*7c478bd9Sstevel@tonic-gate	<restarter>
43*7c478bd9Sstevel@tonic-gate	    <service_fmri value='svc:/network/inetd:default' />
44*7c478bd9Sstevel@tonic-gate	</restarter>
45*7c478bd9Sstevel@tonic-gate
46*7c478bd9Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
47*7c478bd9Sstevel@tonic-gate	    <stability value='Evolving' />
48*7c478bd9Sstevel@tonic-gate	    <propval name='name' type='astring' value='discard' />
49*7c478bd9Sstevel@tonic-gate	    <propval name='isrpc' type='boolean' value='false' />
50*7c478bd9Sstevel@tonic-gate	</property_group>
51*7c478bd9Sstevel@tonic-gate
52*7c478bd9Sstevel@tonic-gate	<instance name='dgram' enabled='false' >
53*7c478bd9Sstevel@tonic-gate	    <exec_method
54*7c478bd9Sstevel@tonic-gate		type='method'
55*7c478bd9Sstevel@tonic-gate		name='inetd_start'
56*7c478bd9Sstevel@tonic-gate		exec='/usr/lib/inet/in.discardd -d'
57*7c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
58*7c478bd9Sstevel@tonic-gate		    <method_context>
59*7c478bd9Sstevel@tonic-gate			<method_credential user='root' group='root' />
60*7c478bd9Sstevel@tonic-gate		    </method_context>
61*7c478bd9Sstevel@tonic-gate	    </exec_method>
62*7c478bd9Sstevel@tonic-gate
63*7c478bd9Sstevel@tonic-gate	    <exec_method
64*7c478bd9Sstevel@tonic-gate		type='method'
65*7c478bd9Sstevel@tonic-gate		name='inetd_offline'
66*7c478bd9Sstevel@tonic-gate	        exec=':kill_process'
67*7c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
68*7c478bd9Sstevel@tonic-gate	    </exec_method>
69*7c478bd9Sstevel@tonic-gate
70*7c478bd9Sstevel@tonic-gate	    <exec_method
71*7c478bd9Sstevel@tonic-gate		type='method'
72*7c478bd9Sstevel@tonic-gate		name='inetd_disable'
73*7c478bd9Sstevel@tonic-gate		exec=':kill'
74*7c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
75*7c478bd9Sstevel@tonic-gate	    </exec_method>
76*7c478bd9Sstevel@tonic-gate
77*7c478bd9Sstevel@tonic-gate		<property_group name='inetd' type='framework'>
78*7c478bd9Sstevel@tonic-gate		    <propval name='endpoint_type' type='astring'
79*7c478bd9Sstevel@tonic-gate			    value='dgram' />
80*7c478bd9Sstevel@tonic-gate		    <propval name='proto' type='astring' value='udp6' />
81*7c478bd9Sstevel@tonic-gate		    <propval name='wait' type='boolean' value='true' />
82*7c478bd9Sstevel@tonic-gate		</property_group>
83*7c478bd9Sstevel@tonic-gate	</instance>
84*7c478bd9Sstevel@tonic-gate
85*7c478bd9Sstevel@tonic-gate	<instance name='stream' enabled='false' >
86*7c478bd9Sstevel@tonic-gate	    <exec_method
87*7c478bd9Sstevel@tonic-gate		type='method'
88*7c478bd9Sstevel@tonic-gate		name='inetd_start'
89*7c478bd9Sstevel@tonic-gate		exec='/usr/lib/inet/in.discardd -s'
90*7c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
91*7c478bd9Sstevel@tonic-gate		    <method_context>
92*7c478bd9Sstevel@tonic-gate			<method_credential user='root' group='root' />
93*7c478bd9Sstevel@tonic-gate		    </method_context>
94*7c478bd9Sstevel@tonic-gate	    </exec_method>
95*7c478bd9Sstevel@tonic-gate
96*7c478bd9Sstevel@tonic-gate	    <exec_method
97*7c478bd9Sstevel@tonic-gate		type='method'
98*7c478bd9Sstevel@tonic-gate		name='inetd_disable'
99*7c478bd9Sstevel@tonic-gate		exec=':kill'
100*7c478bd9Sstevel@tonic-gate	        timeout_seconds='0'>
101*7c478bd9Sstevel@tonic-gate	    </exec_method>
102*7c478bd9Sstevel@tonic-gate
103*7c478bd9Sstevel@tonic-gate	    <property_group name='inetd' type='framework'>
104*7c478bd9Sstevel@tonic-gate		<propval name='endpoint_type' type='astring'
105*7c478bd9Sstevel@tonic-gate			    value='stream' />
106*7c478bd9Sstevel@tonic-gate		<propval name='proto' type='astring' value='tcp6' />
107*7c478bd9Sstevel@tonic-gate		<propval name='wait' type='boolean' value='false' />
108*7c478bd9Sstevel@tonic-gate	    </property_group>
109*7c478bd9Sstevel@tonic-gate	</instance>
110*7c478bd9Sstevel@tonic-gate
111*7c478bd9Sstevel@tonic-gate	<stability value='Evolving' />
112*7c478bd9Sstevel@tonic-gate
113*7c478bd9Sstevel@tonic-gate	<template>
114*7c478bd9Sstevel@tonic-gate		<common_name>
115*7c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
116*7c478bd9Sstevel@tonic-gate			discard
117*7c478bd9Sstevel@tonic-gate			</loctext>
118*7c478bd9Sstevel@tonic-gate		</common_name>
119*7c478bd9Sstevel@tonic-gate		<documentation>
120*7c478bd9Sstevel@tonic-gate		</documentation>
121*7c478bd9Sstevel@tonic-gate	</template>
122*7c478bd9Sstevel@tonic-gate</service>
123*7c478bd9Sstevel@tonic-gate
124*7c478bd9Sstevel@tonic-gate</service_bundle>
125