summaryrefslogtreecommitdiff
path: root/solaris/quagga.init.in
diff options
context:
space:
mode:
authorpaul <paul>2005-06-02 16:33:53 +0000
committerpaul <paul>2005-06-02 16:33:53 +0000
commita6570ee42f9d3a597c33b73931da5294b43b71ba (patch)
tree45fa35ceec8e6ce3fa610c63edfa50ba9c11be91 /solaris/quagga.init.in
parent7085641750bb5ec9b1a73085d9d94ddd9eca7922 (diff)
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.
Diffstat (limited to 'solaris/quagga.init.in')
-rwxr-xr-xsolaris/quagga.init.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/solaris/quagga.init.in b/solaris/quagga.init.in
index 808fcbe8..1d3a5cd3 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.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
@@ -33,7 +33,7 @@ fi
# fmri must exist
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
case ${DAEMON} in
@@ -63,7 +63,7 @@ VTYPORT=`svcprop -p @PACKAGE_TARNAME@/vty_port ${FMRI}`
[ -z "${PIDFILE}" ] && exit $SMF_EXIT_ERR_CONFIG
# config file must exist
-[ ! -f "$CONFFILE" ] && exit $SMF_EXIT_ERR_CONFIG
+#[ ! -f "$CONFFILE" ] && exit $SMF_EXIT_ERR_CONFIG
start () {
/usr/local/quagga/sbin/${DAEMON} ${ARGS} &