From 2e7d9ebac1a2698d548fab85bf717b427378c3c1 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 26 Apr 2005 02:35:03 +0000 Subject: 2005-04-26 Paul Jakma * quagga.xml.in: New, better, single integrated manifest for all the services, courtesy of alan.maguire@sun.com. * {{ospf,ospf6,rip,ripng,bgp}d,zebra}.xml.in: removed due to previous * quagga.init.in: Use the package tarname for properties, use the correct daemon name variable. * Makefile.am: Updated to match single manifest * prototype.daemons.in: ditto --- solaris/quagga.init.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'solaris/quagga.init.in') diff --git a/solaris/quagga.init.in b/solaris/quagga.init.in index 02fdc60d..808fcbe8 100755 --- a/solaris/quagga.init.in +++ b/solaris/quagga.init.in @@ -3,7 +3,7 @@ # Copyright 2001,2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# $Id: quagga.init.in,v 1.1 2005/04/11 07:05:21 paul Exp $ +# $Id: quagga.init.in,v 1.2 2005/04/26 02:35:03 paul Exp $ # # Starts/stops the appropriate daemon @@ -45,12 +45,12 @@ case ${DAEMON} in ;; esac -CONFFILE=`svcprop -p @PACKAGE_NAME@/config_file ${FMRI}` -PIDFILE=`svcprop -p @PACKAGE_NAME@/pid_file ${FMRI}` -USER=`svcprop -p @PACKAGE_NAME@/user ${FMRI}` -GROUP=`svcprop -p @PACKAGE_NAME@/group ${FMRI}` -VTYADDR=`svcprop -p @PACKAGE_NAME@/vty_addr ${FMRI}` -VTYPORT=`svcprop -p @PACKAGE_NAME@/vty_port ${FMRI}` +CONFFILE=`svcprop -p @PACKAGE_TARNAME@/config_file ${FMRI}` +PIDFILE=`svcprop -p @PACKAGE_TARNAME@/pid_file ${FMRI}` +USER=`svcprop -p @PACKAGE_TARNAME@/user ${FMRI}` +GROUP=`svcprop -p @PACKAGE_TARNAME@/group ${FMRI}` +VTYADDR=`svcprop -p @PACKAGE_TARNAME@/vty_addr ${FMRI}` +VTYPORT=`svcprop -p @PACKAGE_TARNAME@/vty_port ${FMRI}` [ -n "${CONFFILE}" ] && ARGS=" -f ${CONFFILE}" [ -n "${PIDFILE}" ] && ARGS="${ARGS} --pid_file ${PIDFILE}" @@ -76,9 +76,9 @@ stop () { } restart() { - stop ${daemon} + stop ${DAEMON} sleep 1 - start ${daemon} + start ${DAEMON} } case $1 in -- cgit v1.2.1