summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2021-04-09 19:13:45 +0200
committerQuentin Young <qlyoung@nvidia.com>2021-04-09 19:14:30 +0200
commit6c8bdfd569d82115af734e32bea89919cd80a4c1 (patch)
treee8bcf8aa7ba7cb766a950671835a8114e2364a24 /tools
parentdebian: install frr.conf to /etc/frr/ (diff)
downloadfrr-6c8bdfd569d82115af734e32bea89919cd80a4c1.tar.xz
frr-6c8bdfd569d82115af734e32bea89919cd80a4c1.zip
tools: add note to users re: frr.conf overwrite
Most software doesn't overwrite its own config files; vtysh's 'wr mem' may be confusing, so add a note to the config file explaining changes made may be overwritten. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/etc/frr/frr.conf11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/etc/frr/frr.conf b/tools/etc/frr/frr.conf
index 61f7a6562..5ee6d15c9 100644
--- a/tools/etc/frr/frr.conf
+++ b/tools/etc/frr/frr.conf
@@ -1,3 +1,10 @@
-# default to using syslog. /etc/rsyslog.d/45-frr.conf places the log
-# in /var/log/frr/frr.log
+# default to using syslog. /etc/rsyslog.d/45-frr.conf places the log in
+# /var/log/frr/frr.log
+#
+# Note:
+# FRR's configuration shell, vtysh, dynamically edits the live, in-memory
+# configuration while FRR is running. When instructed, vtysh will persist the
+# live configuration to this file, overwriting its contents. If you want to
+# avoid this, you can edit this file manually before starting FRR, or instruct
+# vtysh to write configuration to a different file.
log syslog informational