summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 11:30:57 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 11:30:57 -0700
commita1d23a42ef83968222b0744505986db3e02b0ae8 (patch)
tree0f5d0ad40978a934414202b51d6bbae135169b2a /scripts
parentc600f91dee1ed705648eff626f8fd090a28720b5 (diff)
downloadvyatta-cfg-quagga-a1d23a42ef83968222b0744505986db3e02b0ae8.tar.gz
vyatta-cfg-quagga-a1d23a42ef83968222b0744505986db3e02b0ae8.zip
Use bgpd default import-check flag
Move the default import-check enabled from template to command line option in bgpd. This resolves some of the startup issues.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/quagga-manager7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/quagga-manager b/scripts/quagga-manager
index 220a5fba..be0435b9 100755
--- a/scripts/quagga-manager
+++ b/scripts/quagga-manager
@@ -43,9 +43,10 @@ start() {
fi
local -a args=( -d -P 0 -i $pidfile )
- if [ "$daemon" = "zebra" ]; then
- args+=( -l -S -s 1048576 )
- fi
+ case $daemon in
+ zebra) args+=( -l -S -s 1048576 );;
+ bgpd) args+=( -I );;
+ esac
exec start-stop-daemon --start --oknodo --quiet \
--chdir $log_dir --exec $binpath --pidfile $pidfile \