From 8741c90f8ede0e9c17af5b32b7df3b292307aaaf Mon Sep 17 00:00:00 2001 From: Bopeng Liu Date: Tue, 19 Nov 2013 15:50:36 -0600 Subject: [PATCH] quagga: Fix watchquagga initscript problem. Change the default config file for making watchquagga can startup successful (From meta-openembedded rev: 98367f46aab5401e4bc2daf318c9bb9110af463b) Signed-off-by: Bopeng Liu Signed-off-by: Joe MacDonald Signed-off-by: Patrick Ohly --- .../recipes-protocols/quagga/files/watchquagga.default | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta-openembedded/meta-networking/recipes-protocols/quagga/files/watchquagga.default b/meta-openembedded/meta-networking/recipes-protocols/quagga/files/watchquagga.default index 53f6a8c..2d601ec 100644 --- a/meta-openembedded/meta-networking/recipes-protocols/quagga/files/watchquagga.default +++ b/meta-openembedded/meta-networking/recipes-protocols/quagga/files/watchquagga.default @@ -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" -- 2.7.4