Merge pull request #368 from gsomlo/gls-frr-staticd

services/frr.py: frrboot.sh: start 'staticd' to support static routes
This commit is contained in:
bharnden 2020-02-12 09:02:57 -08:00 committed by GitHub
commit c4f0f62206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,6 +208,9 @@ bootfrr()
fi fi
bootdaemon "zebra" bootdaemon "zebra"
if grep -q "^ip route " $FRR_CONF; then
bootdaemon "staticd"
fi
for r in rip ripng ospf6 ospf bgp babel; do for r in rip ripng ospf6 ospf bgp babel; do
if grep -q "^router \\<${r}\\>" $FRR_CONF; then if grep -q "^router \\<${r}\\>" $FRR_CONF; then
bootdaemon "${r}d" bootdaemon "${r}d"