summaryrefslogtreecommitdiffstats
path: root/debian/vyatta-quagga.init.d
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-18 11:03:04 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-18 11:03:04 -0700
commit0b0277386bb329d16b243d9948edb81f35ce4f31 (patch)
tree941e111bd7bbe584cbeb208a375df5067b2e8f82 /debian/vyatta-quagga.init.d
parent09d3fdd15c9bf316127f13a9322fdbea13a2628c (diff)
downloadquagga-0b0277386bb329d16b243d9948edb81f35ce4f31.tar.bz2
quagga-0b0277386bb329d16b243d9948edb81f35ce4f31.tar.xz
go back to building watchlink
Revert "Disable watchlink from the build" This reverts commit 09d3fdd15c9bf316127f13a9322fdbea13a2628c.
Diffstat (limited to 'debian/vyatta-quagga.init.d')
-rw-r--r--debian/vyatta-quagga.init.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/vyatta-quagga.init.d b/debian/vyatta-quagga.init.d
index 4e342f8b..0bf2eaab 100644
--- a/debian/vyatta-quagga.init.d
+++ b/debian/vyatta-quagga.init.d
@@ -32,6 +32,7 @@ for dir in $pid_dir $log_dir ; do
done
declare -a common_args=( -d -P 0 )
+declare -a watchlink_args=( -s -d -i $pid_dir/watchlink.pid )
declare -a zebra_args=( ${common_args[@]} -l -s 1048576 -i $pid_dir/zebra.pid )
declare -a ripd_args=( ${common_args[@]} -i $pid_dir/ripd.pid )
declare -a ripngd_args=( ${common_args[@]} -i $pid_dir/ripngd.pid )
@@ -46,6 +47,7 @@ vyatta_quagga_start ()
if [ $# -gt 0 ] ; then
daemons=( $* )
else
+ daemons+=( watchlink )
daemons+=( zebra )
daemons+=( ripd )
# daemons+=( ripngd )
@@ -79,7 +81,7 @@ vyatta_quagga_stop ()
if [ $# -gt 0 ] ; then
daemons=( $* )
else
- daemons=( bgpd isisd ospf6d ospfd ripngd ripd zebra )
+ daemons=( watchlink bgpd isisd ospf6d ospfd ripngd ripd zebra )
fi
log_action_begin_msg "Stopping Quagga"
for daemon in ${daemons[@]} ; do