summaryrefslogtreecommitdiff
path: root/redhat/zebra.init
diff options
context:
space:
mode:
authorpaul <paul>2003-12-30 11:16:21 +0000
committerpaul <paul>2003-12-30 11:16:21 +0000
commit15d74e93405f0f9bb9e399163b8e53bb589699d6 (patch)
treee8a191b889d087eac50c6d33d72b182299a807a2 /redhat/zebra.init
parent41ad87809198dfb2cfc769d77592afaf41a2f8f0 (diff)
2003-12-30 Paul Jakma <paul@dishone.st>
* redhat/isisd.init: new file, init script for isisd. redhat/quagga.sysconfig: new file, sysconfig file for quagga initscripts. redhat/quagga.spec.in: various cleanups, including sysconfig patch from RH, fixed UID/GID as per RH EL, shell changed to /sbin/nologin, daemon vty's listen to 127.1 only per default and isisd packaged. redhat/*.init: sysconfig support and runlevels specified.
Diffstat (limited to 'redhat/zebra.init')
-rw-r--r--redhat/zebra.init7
1 files changed, 5 insertions, 2 deletions
diff --git a/redhat/zebra.init b/redhat/zebra.init
index 16b7a499..8caae1f1 100644
--- a/redhat/zebra.init
+++ b/redhat/zebra.init
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# chkconfig: - 15 85
+# chkconfig: 2345 15 85
# description: GNU Zebra routing manager
#
# processname: zebra
@@ -9,6 +9,9 @@
# source function library
. /etc/rc.d/init.d/functions
+# quagga command line options
+. /etc/sysconfig/quagga
+
# Check that networking is up.
[ "${NETWORKING}" = "no" ] && exit 0
@@ -25,7 +28,7 @@ case "$1" in
/sbin/ip route flush proto zebra
- daemon /usr/sbin/zebra -d
+ daemon /usr/sbin/zebra -d $ZEBRA_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/zebra
echo