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.
diff --git a/redhat/zebra.init b/redhat/zebra.init
index 16b7a49..8caae1f 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 @@
/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