diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-08 10:58:58 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-08 10:58:58 -0700 |
commit | 7cdfc68e8cdf0893ffc0b611470c60d63bd08c4b (patch) | |
tree | 13baf2d2024dc6b5bbf10635ca225c8c8131544e /scripts | |
parent | 495f3b830b19c58ec2dc5ca1b9fee91b1d252cf7 (diff) | |
download | vyatta-cfg-quagga-7cdfc68e8cdf0893ffc0b611470c60d63bd08c4b.tar.gz vyatta-cfg-quagga-7cdfc68e8cdf0893ffc0b611470c60d63bd08c4b.zip |
Remove watchquagga stuff
The watchquagga startup here is no longer used
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/quagga-manager | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/scripts/quagga-manager b/scripts/quagga-manager index ba95d5f8..383616e0 100755 --- a/scripts/quagga-manager +++ b/scripts/quagga-manager @@ -46,27 +46,9 @@ start() { pidofproc $pidfile $daemon >/dev/null && return 0 local -a args=( -d -P 0 -i ${pid_dir}/${daemon}.pid ) - case $daemon in - zebra) args+=( -l -S -s 1048576 ) ;; - watchquagga) - args=( -dz -p ${pid_dir}/${daemon}.pid ); - # Note: at present ospf/rip only monitored if actually active - # probably should get smarter in future here - local -a protocols=(`/opt/vyatta/bin/vyatta-show-protocols exists`) - - if [ ${#protocols[*]} -eq 0 ] - then - # Only zebra: mode 1 simple restart - args+=( -R "$0 restart zebra" zebra ) - else - # With routing protocols: phased restart - args+=( -A -r "$0 restart %s" ) - args+=( -s "$0 reload %s" ) - args+=( -k "$0 stop %s" ) - args+=( zebra ${protocols[*]} ) - fi - ;; - esac + if [ "$daemon" = "zebra" ]; then + args+=( -l -S -s 1048576 ) + fi start-stop-daemon --start --quiet \ --chdir $log_dir --exec $binpath \ |