quagga: Fix watchquagga initscript problem.

Change the default config file for making watchquagga can startup successful

Signed-off-by: Bopeng Liu <Bopeng.Liu@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
Bopeng Liu 2013-11-19 15:50:36 -06:00 committed by Joe MacDonald
parent 936febdff7
commit 98367f46aa

View File

@ -2,6 +2,11 @@
#watch_daemons="zebra bgpd ospfd ospf6d ripd ripngd"
watch_daemons="zebra"
# To enable restarts, uncomment this line (but first be sure to edit
# To enable restarts when multiple daemons are being used, uncomment this line (but first be sure to edit
# the WATCH_DAEMONS line to reflect the daemons you are actually using):
watch_options="-z -b_ -r/etc/init.d/quagga_restart_%s -s/etc/init.d/quagga_start_%s -k/etc/init.d/quagga_stop_%s"
#watch_options="-Az -b_ -r/etc/init.d/quagga_restart_%s -s/etc/init.d/quagga_start_%s -k/etc/init.d/quagga_stop_%s"
# Since we are using one quagga daemon for now, use the following line. If using
# multiple daemons, comment the line below and uncoment the line mentioned
# above.
watch_options="-z -b_ -r/etc/init.d/quagga_restart_%s"