summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-12-17 20:42:51 +0100
committerDavid Lamparter <equinox@diac24.net>2018-12-18 01:26:12 +0100
commit151502651643b67cc9de4e7007a60f2cabce4cab (patch)
treed3647f8cc96d99fa04765acd14df0c08251f36ef /tools
parenttools/frrcommon.sh: actually create /run/frr (diff)
downloadfrr-151502651643b67cc9de4e7007a60f2cabce4cab.tar.xz
frr-151502651643b67cc9de4e7007a60f2cabce4cab.zip
tools/frrcommon.sh: always start staticd
"derp." Since zebra is always started, the same should hold for staticd. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/frrcommon.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frrcommon.sh.in b/tools/frrcommon.sh.in
index 193eeed29..fa2fdc94b 100644
--- a/tools/frrcommon.sh.in
+++ b/tools/frrcommon.sh.in
@@ -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"