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:
commit
c4f0f62206
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue