]> git.proxmox.com Git - mirror_frr.git/blobdiff - redhat/ripd.init
2003-12-30 Paul Jakma <paul@dishone.st>
[mirror_frr.git] / redhat / ripd.init
index 3545a7440a78d9e6ec70c99b12dbeeecae6d588c..766422194d003f633a5e934d3f031b133ba1b30d 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# chkconfig: - 16 84
+# chkconfig: 2345 16 84
 # description: A RIP routing engine for use with Zebra
 #
 # processname: ripd
@@ -12,6 +12,9 @@
 # Get network config
 . /etc/sysconfig/network
 
+# quagga command line options
+. /etc/sysconfig/quagga
+
 # Check that networking is up.
 [ "${NETWORKING}" = "no" ] && exit 0
 
@@ -24,7 +27,7 @@ prog="ripd"
 case "$1" in
   start)
        echo -n $"Starting $prog: "
-        daemon /usr/sbin/ripd -d
+        daemon /usr/sbin/ripd -d $RIPD_OPTS
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ripd
        echo