This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
quagga/quagga-0.99.11-conf.patch

82 lines
3.1 KiB
Diff
Raw Normal View History

diff -Nru quagga-0.99.11.orig/redhat/bgpd.init quagga-0.99.11/redhat/bgpd.init
--- quagga-0.99.11.orig/redhat/bgpd.init 2006-09-14 08:21:46.000000000 +0200
+++ quagga-0.99.11/redhat/bgpd.init 2008-12-10 19:12:22.000000000 +0100
@@ -4,7 +4,7 @@
# description: A BGPv4, BGPv4+, BGPv4- routing engine for use with Zebra
#
# processname: bgpd
-# config: /etc/zebra/bgpd.conf
+# config: /etc/quagga/bgpd.conf
# source function library
. /etc/rc.d/init.d/functions
@@ -27,7 +27,7 @@
case "$1" in
start)
echo -n $"Starting $prog: "
- daemon /usr/sbin/bgpd -d $BGPD_OPTS
+ daemon /usr/sbin/bgpd -f /etc/quagga/bgpd.conf -d $BGPD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/bgpd
echo
diff -Nru quagga-0.99.11.orig/redhat/ospf6d.init quagga-0.99.11/redhat/ospf6d.init
--- quagga-0.99.11.orig/redhat/ospf6d.init 2006-09-14 08:21:46.000000000 +0200
+++ quagga-0.99.11/redhat/ospf6d.init 2008-12-10 19:12:49.000000000 +0100
@@ -27,7 +27,7 @@
case "$1" in
start)
echo -n $"Starting $prog: "
- daemon /usr/sbin/ospf6d -d $OSPF6D_OPTS
+ daemon /usr/sbin/ospf6d -f /etc/quagga/ospf6d.conf -d $OSPF6D_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ospf6d
echo
diff -Nru quagga-0.99.11.orig/redhat/ospfd.init quagga-0.99.11/redhat/ospfd.init
--- quagga-0.99.11.orig/redhat/ospfd.init 2006-09-14 08:21:46.000000000 +0200
+++ quagga-0.99.11/redhat/ospfd.init 2008-12-10 19:13:07.000000000 +0100
@@ -28,7 +28,7 @@
case "$1" in
start)
echo -n $"Starting $prog: "
- daemon /usr/sbin/ospfd -d $OSPFD_OPTS
+ daemon /usr/sbin/ospfd -f /etc/quagga/ospfd.conf -d $OSPFD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ospfd
echo
diff -Nru quagga-0.99.11.orig/redhat/ripd.init quagga-0.99.11/redhat/ripd.init
--- quagga-0.99.11.orig/redhat/ripd.init 2006-09-14 08:21:46.000000000 +0200
+++ quagga-0.99.11/redhat/ripd.init 2008-12-10 19:14:15.000000000 +0100
@@ -27,7 +27,7 @@
case "$1" in
start)
echo -n $"Starting $prog: "
- daemon /usr/sbin/ripd -d $RIPD_OPTS
+ daemon /usr/sbin/ripd -f /etc/quagga/ripd.conf -d $RIPD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ripd
echo
diff -Nru quagga-0.99.11.orig/redhat/ripngd.init quagga-0.99.11/redhat/ripngd.init
--- quagga-0.99.11.orig/redhat/ripngd.init 2006-09-14 08:21:46.000000000 +0200
+++ quagga-0.99.11/redhat/ripngd.init 2008-12-10 19:14:34.000000000 +0100
@@ -27,7 +27,7 @@
case "$1" in
start)
echo -n $"Starting $prog: "
- daemon /usr/sbin/ripngd -d $RIPNGD_OPTS
+ daemon /usr/sbin/ripngd -f /etc/quagga/ripngd.conf -d $RIPNGD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ripngd
echo
diff -Nru quagga-0.99.11.orig/redhat/zebra.init quagga-0.99.11/redhat/zebra.init
--- quagga-0.99.11.orig/redhat/zebra.init 2006-09-14 08:21:46.000000000 +0200
+++ quagga-0.99.11/redhat/zebra.init 2008-12-10 19:15:14.000000000 +0100
@@ -28,7 +28,7 @@
/sbin/ip route flush proto zebra
- daemon /usr/sbin/zebra -d $ZEBRA_OPTS
+ daemon /usr/sbin/zebra -f /etc/quagga/zebra.conf -d $ZEBRA_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/zebra
echo