]> git.puffer.fish Git - mirror/frr.git/commitdiff
tools/frrcommon.sh: always start staticd 3506/head
authorDavid Lamparter <equinox@diac24.net>
Mon, 17 Dec 2018 19:42:51 +0000 (20:42 +0100)
committerDavid Lamparter <equinox@diac24.net>
Tue, 18 Dec 2018 00:25:16 +0000 (01:25 +0100)
"derp."

Since zebra is always started, the same should hold for staticd.

Signed-off-by: David Lamparter <equinox@diac24.net>
tools/frrcommon.sh.in

index 193eeed299fb76fde9f867fbd4a8fc9851a0b3c0..fa2fdc94b2af6973083060e0819eda70e3bd04d5 100644 (file)
@@ -83,7 +83,7 @@ daemon_list() {
        for daemon in $DAEMONS; do
                eval cfg=\$$daemon
                eval inst=\$${daemon}_instances
-               [ "$daemon" = zebra ] && cfg=yes
+               [ "$daemon" = zebra -o "$daemon" = staticd ] && cfg=yes
                if [ -n "$cfg" -a "$cfg" != "no" -a "$cfg" != "0" ]; then
                        debug "$daemon enabled"
                        enabled="$enabled $daemon"