network-discovery.xml revision 4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Licensed under the Academic Free License version 2.1
ident "%Z%%M% %I% %E% SMI"
NOTE: This service manifest is not editable; its contents will
be overwritten by package or patch operations, including
operating system upgrade. Make customizations in a different
file.
Service manifest for HAL network attached device discovery.
-->
<service_bundle type='manifest' name='SUNWhalr:device-discovery'>
<service
name='network/device-discovery/printers'
type='service'
version='1'>
<dependency name='usr'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/system/filesystem/local' />
</dependency>
<dependency name='network-service'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/service' />
</dependency>
<dependency name='dbus'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/system/dbus' />
</dependency>
<dependency name='hal'
type='service'
grouping='require_all'
restart_on='refresh'>
<service_fmri value='svc:/system/hal' />
</dependency>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/svc-network-discovery %m %i'
timeout_seconds='30'>
</exec_method>
<exec_method
type='method'
name='stop'
exec='/lib/svc/method/svc-network-discovery %m %i'
timeout_seconds='30'>
</exec_method>
<exec_method
type='method'
name='refresh'
exec='/lib/svc/method/svc-network-discovery %m %i'
timeout_seconds='30'>
</exec_method>
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<instance
name='snmp'
enabled='false'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
<property_group name='general' type='framework'>
<!-- to start/stop the discovery service -->
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.discovery.printers.snmp' />
</property_group>
<property_group name='config' type='framework'>
<!-- authorization to modify config properties -->
<propval name='value_authorization' type='astring'
value='solaris.smf.value.discovery.printers.snmp' />
</property_group>
</instance>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
Hardware Abstraction Layer network attached device discovery
</loctext>
</common_name>
</template>
</service>
</service_bundle>