xref: /titanic_44/usr/src/cmd/cmd-inet/usr.lib/wpad/wpa.xml (revision a399b7655a1d835aa8606c2b29e4e777baac8635)
1*a399b765Szf162725<?xml version="1.0"?>
2*a399b765Szf162725<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*a399b765Szf162725<!--
4*a399b765Szf162725	Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5*a399b765Szf162725	Use is subject to license terms.
6*a399b765Szf162725
7*a399b765Szf162725 CDDL HEADER START
8*a399b765Szf162725
9*a399b765Szf162725 The contents of this file are subject to the terms of the
10*a399b765Szf162725 Common Development and Distribution License (the "License").
11*a399b765Szf162725 You may not use this file except in compliance with the License.
12*a399b765Szf162725
13*a399b765Szf162725 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*a399b765Szf162725 or http://www.opensolaris.org/os/licensing.
15*a399b765Szf162725 See the License for the specific language governing permissions
16*a399b765Szf162725 and limitations under the License.
17*a399b765Szf162725
18*a399b765Szf162725 When distributing Covered Code, include this CDDL HEADER in each
19*a399b765Szf162725 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*a399b765Szf162725 If applicable, add the following below this CDDL HEADER, with the
21*a399b765Szf162725 fields enclosed by brackets "[]" replaced with your own identifying
22*a399b765Szf162725 information: Portions Copyright [yyyy] [name of copyright owner]
23*a399b765Szf162725
24*a399b765Szf162725 CDDL HEADER END
25*a399b765Szf162725
26*a399b765Szf162725	ident	"%Z%%M%	%I%	%E% SMI"
27*a399b765Szf162725
28*a399b765Szf162725	NOTE:  This service manifest is not editable; its contents will
29*a399b765Szf162725	be overwritten by package or patch operations, including
30*a399b765Szf162725	operating system upgrade.  Make customizations in a different
31*a399b765Szf162725	file.
32*a399b765Szf162725-->
33*a399b765Szf162725
34*a399b765Szf162725<service_bundle type='manifest' name='SUNWsupr:wpad'>
35*a399b765Szf162725
36*a399b765Szf162725<service
37*a399b765Szf162725	name='network/wpa'
38*a399b765Szf162725	type='service'
39*a399b765Szf162725	version='1'>
40*a399b765Szf162725
41*a399b765Szf162725	<!--
42*a399b765Szf162725	    The wpa service will use the crypto framework of
43*a399b765Szf162725	    PKCS #11 when we come to the enterprise mode.
44*a399b765Szf162725	-->
45*a399b765Szf162725	<dependency
46*a399b765Szf162725	    name='cryptosvc'
47*a399b765Szf162725	    grouping='require_all'
48*a399b765Szf162725	    restart_on='none'
49*a399b765Szf162725	    type='service'>
50*a399b765Szf162725		<service_fmri value='svc:/system/cryptosvc' />
51*a399b765Szf162725	</dependency>
52*a399b765Szf162725
53*a399b765Szf162725	<exec_method
54*a399b765Szf162725		type='method'
55*a399b765Szf162725		name='start'
56*a399b765Szf162725		exec='/usr/lib/inet/wpad'
57*a399b765Szf162725		timeout_seconds='60' >
58*a399b765Szf162725		<method_context>
59*a399b765Szf162725			<method_credential
60*a399b765Szf162725				user='root'
61*a399b765Szf162725				group='root'
62*a399b765Szf162725				limit_privileges=':default'
63*a399b765Szf162725				privileges='basic,sys_net_config,net_rawaccess'
64*a399b765Szf162725			/>
65*a399b765Szf162725		</method_context>
66*a399b765Szf162725	</exec_method>
67*a399b765Szf162725
68*a399b765Szf162725	<exec_method
69*a399b765Szf162725		type='method'
70*a399b765Szf162725		name='stop'
71*a399b765Szf162725		exec=':kill'
72*a399b765Szf162725		timeout_seconds='60' />
73*a399b765Szf162725
74*a399b765Szf162725        <property_group name='general' type='framework'>
75*a399b765Szf162725                <!-- to start stop wpad -->
76*a399b765Szf162725                <propval name='action_authorization' type='astring'
77*a399b765Szf162725                        value='solaris.smf.manage.wpa' />
78*a399b765Szf162725        </property_group>
79*a399b765Szf162725
80*a399b765Szf162725	<stability value='Unstable' />
81*a399b765Szf162725
82*a399b765Szf162725	<template>
83*a399b765Szf162725		<common_name>
84*a399b765Szf162725			<loctext xml:lang='C'>
85*a399b765Szf162725			Wireless WPA Supplicant
86*a399b765Szf162725			</loctext>
87*a399b765Szf162725		</common_name>
88*a399b765Szf162725		<documentation>
89*a399b765Szf162725			<manpage title='wpad' section='1M'
90*a399b765Szf162725			    manpath='/usr/share/man' />
91*a399b765Szf162725		</documentation>
92*a399b765Szf162725	</template>
93*a399b765Szf162725</service>
94*a399b765Szf162725
95*a399b765Szf162725</service_bundle>
96