From: Quentin Young Date: Fri, 9 Apr 2021 17:13:45 +0000 (-0400) Subject: tools: add note to users re: frr.conf overwrite X-Git-Tag: base_8.0~153^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F8100%2Fhead;p=mirror%2Ffrr.git 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 --- diff --git a/tools/etc/frr/frr.conf b/tools/etc/frr/frr.conf index 61f7a65620..5ee6d15c91 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