summaryrefslogtreecommitdiffstats
path: root/tools/etc
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-26 21:02:22 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-12-06 17:29:27 +0100
commit10ea85ee45f4dd2ce818889616240ca3b1fd3c3e (patch)
treeeb98a3ff31a4f51e2d20db050aeef6db2b3173eb /tools/etc
parentMerge pull request #3419 from opensourcerouting/freebsd-route-warning-fix (diff)
downloadfrr-10ea85ee45f4dd2ce818889616240ca3b1fd3c3e.tar.xz
frr-10ea85ee45f4dd2ce818889616240ca3b1fd3c3e.zip
tools/frr: get rid of the bash array and "bB"
With a little shell-fu, this can actually be escaped properly. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'tools/etc')
-rw-r--r--tools/etc/frr/daemons.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/etc/frr/daemons.conf b/tools/etc/frr/daemons.conf
index 94221301e..1f608cfe0 100644
--- a/tools/etc/frr/daemons.conf
+++ b/tools/etc/frr/daemons.conf
@@ -24,8 +24,7 @@ fabricd_options=" --daemon -A 127.0.0.1"
# The list of daemons to watch is automatically generated by the init script.
watchfrr_enable=yes
-
-watchfrr_options=(-d -r /usr/lib/frr/frrbBrestartbB%s -s /usr/lib/frr/frrbBstartbB%s -k /usr/lib/frr/frrbBstopbB%s -b bB)
+watchfrr_options="-d -r '/usr/lib/frr/frr restart %s' -s '/usr/lib/frr/frr start %s' -k '/usr/lib/frr/frr stop %s'"
# If valgrind_enable is 'yes' the frr daemons will be started via valgrind.
# The use case for doing so is tracking down memory leaks, etc in frr.