From d2fe35279793a858ab88fe5324fed41edae20926 Mon Sep 17 00:00:00 2001 From: Gabriel Somlo Date: Sun, 9 Feb 2020 07:42:02 -0500 Subject: [PATCH] services/frr.py: frrboot.sh: start 'staticd' to support static routes Unlike Quagga, FRR requires 'staticd' to be running in order to support provisioning and use of static routes in the running configuration (e.g., 'ip route a.b.c.d/p nexthop'). Signed-off-by: Gabriel Somlo --- daemon/core/services/frr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/core/services/frr.py b/daemon/core/services/frr.py index 95ffb0b5..51ab1e38 100644 --- a/daemon/core/services/frr.py +++ b/daemon/core/services/frr.py @@ -208,6 +208,9 @@ bootfrr() fi bootdaemon "zebra" + if grep -q "^ip route " $FRR_CONF; then + bootdaemon "staticd" + fi for r in rip ripng ospf6 ospf bgp babel; do if grep -q "^router \\<${r}\\>" $FRR_CONF; then bootdaemon "${r}d"