]> git.puffer.fish Git - mirror/frr.git/commitdiff
tools: improve explanation of watchfrr_options
authorQuentin Young <qlyoung@nvidia.com>
Mon, 6 Dec 2021 04:03:52 +0000 (23:03 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 16 Jun 2022 16:00:23 +0000 (12:00 -0400)
The explanation block for watchfrr_options was split into two blocks,
one explaining the --netns option and one making a vague statement that
the init script provides the list of daemons to start. The former can be
merged with the latter and the latter is more useful when stated as a
caveat for what you should actually use watchfrr_options for.

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
tools/etc/frr/daemons

index a27976c13783fcd925c54321fe7f8a7f81c88cf7..71b3afdab4f06116f72cc453075e3d789ebd529e 100644 (file)
@@ -72,12 +72,15 @@ pathd_options="  -A 127.0.0.1"
 #MAX_FDS=1024
 
 # The list of daemons to watch is automatically generated by the init script.
+# This variable can be used to pass options to watchfrr that will be passed
+# prior to the daemon list.
+#
+# To make watchfrr create/join the specified netns, add the the "--netns"
+# option here. It will only have an effect in /etc/frr/<somename>/daemons, and
+# you need to start FRR with "/usr/lib/frr/frrinit.sh start <somename>".
+#
 #watchfrr_options=""
 
-# To make watchfrr create/join the specified netns, use the following option:
-#watchfrr_options="--netns"
-# This only has an effect in /etc/frr/<somename>/daemons, and you need to
-# start FRR with "/usr/lib/frr/frrinit.sh start <somename>".
 
 # For any daemon, you can specify a "wrap" command to start instead of starting
 # the daemon directly. This will simply be prepended to the daemon invocation.