mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:06:46 +00:00
2005-06-02 Paul Jakma <paul.jakma@sun.com>
* quagga.xml.in: Fix mistake in bgpd definition. Change dependency on zebra to optional. Remove the duplicated stability statements. * quagga.init.in: svcprop should check PACKAGE_TARNAME, not _NAME. no need to check for config file either, there's already a dependency in the manifest.
This commit is contained in:
parent
7085641750
commit
a6570ee42f
@ -1,3 +1,11 @@
|
|||||||
|
2005-06-02 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
|
* quagga.xml.in: Fix mistake in bgpd definition. Change dependency
|
||||||
|
on zebra to optional. Remove the duplicated stability statements.
|
||||||
|
* quagga.init.in: svcprop should check PACKAGE_TARNAME, not _NAME.
|
||||||
|
no need to check for config file either, there's already a
|
||||||
|
dependency in the manifest.
|
||||||
|
|
||||||
2005-05-13 Paul Jakma <paul.jakma@sun.com>
|
2005-05-13 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
* quagga.xml.in: Sigh, XML child elements are order-sensitive.
|
* quagga.xml.in: Sigh, XML child elements are order-sensitive.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Copyright 2001,2003 Sun Microsystems, Inc. All rights reserved.
|
# Copyright 2001,2003 Sun Microsystems, Inc. All rights reserved.
|
||||||
# Use is subject to license terms.
|
# Use is subject to license terms.
|
||||||
#
|
#
|
||||||
# $Id: quagga.init.in,v 1.2 2005/04/26 02:35:03 paul Exp $
|
# $Id: quagga.init.in,v 1.3 2005/06/02 16:33:53 paul Exp $
|
||||||
#
|
#
|
||||||
# Starts/stops the appropriate daemon
|
# Starts/stops the appropriate daemon
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ fi
|
|||||||
# fmri must exist
|
# fmri must exist
|
||||||
svcs ${FMRI} > /dev/null 2>&1 || exit $SMF_EXIT_ERR_CONFIG
|
svcs ${FMRI} > /dev/null 2>&1 || exit $SMF_EXIT_ERR_CONFIG
|
||||||
|
|
||||||
DAEMON=`svcprop -p @PACKAGE_NAME@/daemon_name ${FMRI} 2> /dev/null`
|
DAEMON=`svcprop -p @PACKAGE_TARNAME@/daemon_name ${FMRI} 2> /dev/null`
|
||||||
[ -z "${DAEMON}" ] && exit $SMF_EXIT_ERR_CONFIG
|
[ -z "${DAEMON}" ] && exit $SMF_EXIT_ERR_CONFIG
|
||||||
|
|
||||||
case ${DAEMON} in
|
case ${DAEMON} in
|
||||||
@ -63,7 +63,7 @@ VTYPORT=`svcprop -p @PACKAGE_TARNAME@/vty_port ${FMRI}`
|
|||||||
[ -z "${PIDFILE}" ] && exit $SMF_EXIT_ERR_CONFIG
|
[ -z "${PIDFILE}" ] && exit $SMF_EXIT_ERR_CONFIG
|
||||||
|
|
||||||
# config file must exist
|
# config file must exist
|
||||||
[ ! -f "$CONFFILE" ] && exit $SMF_EXIT_ERR_CONFIG
|
#[ ! -f "$CONFFILE" ] && exit $SMF_EXIT_ERR_CONFIG
|
||||||
|
|
||||||
start () {
|
start () {
|
||||||
/usr/local/quagga/sbin/${DAEMON} ${ARGS} &
|
/usr/local/quagga/sbin/${DAEMON} ${ARGS} &
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
name='network/routing/quagga'
|
name='network/routing/quagga'
|
||||||
type='service'
|
type='service'
|
||||||
version='1'>
|
version='1'>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
common service-level dependencies, inherited by each instance
|
common service-level dependencies, inherited by each instance
|
||||||
-->
|
-->
|
||||||
@ -86,7 +87,6 @@
|
|||||||
value='file://localhost/@sysconfdir@/zebra.conf' />
|
value='file://localhost/@sysconfdir@/zebra.conf' />
|
||||||
</dependency>
|
</dependency>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='keep_kernel' type='boolean'
|
<propval name='keep_kernel' type='boolean'
|
||||||
value='false'/>
|
value='false'/>
|
||||||
<propval name='daemon_name' type='astring'
|
<propval name='daemon_name' type='astring'
|
||||||
@ -112,7 +112,7 @@
|
|||||||
inherit the rest...
|
inherit the rest...
|
||||||
-->
|
-->
|
||||||
<dependency name='zebra'
|
<dependency name='zebra'
|
||||||
grouping='require_all'
|
grouping='optional_all'
|
||||||
restart_on='restart'
|
restart_on='restart'
|
||||||
type='service'>
|
type='service'>
|
||||||
<service_fmri value='svc:/network/routing/quagga:zebra' />
|
<service_fmri value='svc:/network/routing/quagga:zebra' />
|
||||||
@ -125,10 +125,9 @@
|
|||||||
value='file://localhost/@sysconfdir@/bgpd.conf' />
|
value='file://localhost/@sysconfdir@/bgpd.conf' />
|
||||||
</dependency>
|
</dependency>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='daemon_name' type='astring'
|
<propval name='daemon_name' type='astring'
|
||||||
value='bgpd'/>
|
value='bgpd'/>
|
||||||
<propval name='daemon_name' type='boolean'
|
<propval name='no_kernel' type='boolean'
|
||||||
value='false'/>
|
value='false'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
<template>
|
<template>
|
||||||
@ -166,7 +165,6 @@
|
|||||||
value='file://localhost/@sysconfdir@/ospf6d.conf' />
|
value='file://localhost/@sysconfdir@/ospf6d.conf' />
|
||||||
</dependency>
|
</dependency>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='daemon_name' type='astring'
|
<propval name='daemon_name' type='astring'
|
||||||
value='ospf6d'/>
|
value='ospf6d'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
@ -205,11 +203,9 @@
|
|||||||
value='file://localhost/@sysconfdir@/ospfd.conf' />
|
value='file://localhost/@sysconfdir@/ospfd.conf' />
|
||||||
</dependency>
|
</dependency>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='retain_routes' type='boolean' value='false'/>
|
<propval name='retain_routes' type='boolean' value='false'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='daemon_name' type='astring'
|
<propval name='daemon_name' type='astring'
|
||||||
value='ospfd'/>
|
value='ospfd'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
@ -248,11 +244,9 @@
|
|||||||
value='file://localhost/@sysconfdir@/ripd.conf' />
|
value='file://localhost/@sysconfdir@/ripd.conf' />
|
||||||
</dependency>
|
</dependency>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='retain_routes' type='boolean' value='false'/>
|
<propval name='retain_routes' type='boolean' value='false'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='daemon_name' type='astring'
|
<propval name='daemon_name' type='astring'
|
||||||
value='ripd'/>
|
value='ripd'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
@ -291,11 +285,9 @@
|
|||||||
value='file://localhost/@sysconfdir@/ripngd.conf' />
|
value='file://localhost/@sysconfdir@/ripngd.conf' />
|
||||||
</dependency>
|
</dependency>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='retain_routes' type='boolean' value='false'/>
|
<propval name='retain_routes' type='boolean' value='false'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
<property_group name='quagga' type='application'>
|
<property_group name='quagga' type='application'>
|
||||||
<stability value='Evolving' />
|
|
||||||
<propval name='daemon_name' type='astring'
|
<propval name='daemon_name' type='astring'
|
||||||
value='ripngd'/>
|
value='ripngd'/>
|
||||||
</property_group>
|
</property_group>
|
||||||
@ -315,8 +307,7 @@
|
|||||||
|
|
||||||
</instance>
|
</instance>
|
||||||
|
|
||||||
|
<stability value='Evolving' />
|
||||||
<stability value='Unstable' />
|
|
||||||
|
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user