]> git.proxmox.com Git - mirror_frr.git/commitdiff
Lowercase frr.conf
authorMartín Beauchamp <martinb@shapeways.com>
Mon, 27 Feb 2017 18:26:20 +0000 (13:26 -0500)
committerMartín Beauchamp <martinb@shapeways.com>
Mon, 27 Feb 2017 18:26:20 +0000 (13:26 -0500)
12 files changed:
debian/README.Debian
debian/frr.preinst
doc/vtysh.1.in
doc/vtysh.texi
lib/vty.h
tools/frr
tools/frr-reload.py
tools/frr.service
vtysh/vtysh.c
vtysh/vtysh.h
vtysh/vtysh_main.c
watchfrr/watchfrr_vty.c

index 893c1decaae5dcb9cf8f0e20c6a4d495189a7df8..caded52075820c61dcc6f62db9802b3501cfd214 100644 (file)
@@ -93,5 +93,5 @@ See message #4525 from 2005-05-09 in the quagga-users mailing list.
 ===========================
 
 Check /etc/pam.d/frr, it probably denies access to your user. The passwords
-configured in /etc/frr/Frr.conf are only for telnet access.
+configured in /etc/frr/frr.conf are only for telnet access.
 
index abdaa7277b6bd7ce1cd385b14d9d1232e2b3178e..29162e3b56a92bab011cf527d0ed0d29a35280b7 100644 (file)
@@ -66,7 +66,7 @@ if [ "$1" = "install" ]; then
     fi
 
     # Exceptions for vtysh.
-    f=$d/Frr.conf
+    f=$d/frr.conf
     if [ -f $d/Zebra.conf ]; then
       mv $d/Zebra.conf $f
     fi
index 7b5d4f132e4d8010bbfce0544d71165e1fc80bf8..ba8f3df72021653e9177af43f0d0f950c3b257a1 100644 (file)
@@ -73,7 +73,7 @@ The default location of the
 .B vtysh
 config file.
 .TP
-.BI @CFG_SYSCONF@/Frr.conf
+.BI @CFG_SYSCONF@/frr.conf
 The default location of the integrated @PACKAGE_FULLNAME@ routing engine config file
 if integrated config file is in use (not default).
 .TP
index f3ebc26a128bf6f52d1ff734ca370de93c348406..de681c8013a28b8f3c876f4a8c9ba12889c306d0 100644 (file)
@@ -61,13 +61,13 @@ at all.
 @section Integrated configuration mode
 
 Integrated configuration mode uses a single configuration file,
-@file{Frr.conf}, for all daemons.  This replaces the individual files like
+@file{frr.conf}, for all daemons.  This replaces the individual files like
 @file{zebra.conf} or @file{bgpd.conf}.
 
-@file{Frr.conf} is located in @file{@value{INSTALL_PREFIX_ETC}}.  All
+@file{frr.conf} is located in @file{@value{INSTALL_PREFIX_ETC}}.  All
 daemons check for the existence of this file at startup, and if it exists
 will not load their individual configuration files.  Instead,
-@command{vtysh -b} must be invoked to process @file{Frr.conf} and apply
+@command{vtysh -b} must be invoked to process @file{frr.conf} and apply
 its settings to the individual daemons.
 
 @quotation Warning
@@ -76,7 +76,7 @@ its settings to the individual daemons.
 
 @subsection Configuration saving, file ownership and permissions
 
-The @file{Frr.conf} file is not written by any of the daemons; instead
+The @file{frr.conf} file is not written by any of the daemons; instead
 @command{vtysh} contains the neccessary logic to collect configuration from
 all of the daemons, combine it and write it out.
 
@@ -90,7 +90,7 @@ Since the @command{vtysh} command may be running as ordinary user on the
 system, configuration writes will be tried through @command{watchfrr},
 using the @command{write integrated} command internally.  Since
 @command{watchfrr} is running as superuser, @command{vtysh} is able to
-ensure correct ownership and permissions on @file{Frr.conf}.
+ensure correct ownership and permissions on @file{frr.conf}.
 
 If @command{watchfrr} is not running or the configuration write fails,
 @command{vtysh} will attempt to directly write to the file.  This is likely
@@ -102,7 +102,7 @@ Writing the configuration can be triggered directly by invoking
 should be run as either the superuser or the Frr user.
 
 We recommend you do not mix the use of the two types of files. Further, it
-is better not to use the integrated Frr.conf file, as any syntax error in
+is better not to use the integrated frr.conf file, as any syntax error in
 it can lead to /all/ of your daemons being unable to start up. Per daemon
 files are more robust as impact of errors in configuration are limited to
 the daemon in whose file the error is made.
@@ -110,7 +110,7 @@ the daemon in whose file the error is made.
 @deffn {Command} {service integrated-vtysh-config} {}
 @deffnx {Command} {no service integrated-vtysh-config} {}
 
-Control whether integrated @file{Frr.conf} file is written when
+Control whether integrated @file{frr.conf} file is written when
 'write file' is issued.
 
 These commands need to be placed in @file{vtysh.conf} to have any effect.
@@ -122,18 +122,18 @@ This command has 3 states:
 @item
 @command{service integrated-vtysh-config}
 
-@command{vtysh} will always write @file{Frr.conf}.
+@command{vtysh} will always write @file{frr.conf}.
 
 @item
 @command{no service integrated-vtysh-config}
 
-@command{vtysh} will never write @file{Frr.conf}; instead it will ask
+@command{vtysh} will never write @file{frr.conf}; instead it will ask
 daemons to write their individual configuration files.
 
 @item
 Neither option present (default)
 
-@command{vtysh} will check whether @file{Frr.conf} exists.  If it does,
+@command{vtysh} will check whether @file{frr.conf} exists.  If it does,
 configuration writes will update that file.  Otherwise, writes are performed
 through the individual daemons.
 @end itemize
@@ -146,7 +146,7 @@ installations.
 @deffn {Command} {write integrated} {}
 
 Unconditionally (regardless of @command{service integrated-vtysh-config}
-setting) write out integrated @file{Frr.conf} file through
+setting) write out integrated @file{frr.conf} file through
 @command{watchfrr}.  If @command{watchfrr} is not running, this command
 is unavailable.
 
@@ -156,6 +156,6 @@ is unavailable.
 
 Configuration changes made while some daemon is not running will be invisible
 to that daemon.  The daemon will start up with its saved configuration
-(either in its individual configuration file, or in @file{Frr.conf}).
+(either in its individual configuration file, or in @file{frr.conf}).
 This is particularly troublesome for route-maps and prefix lists, which would
 otherwise be synchronized between daemons.
index f3be18a66081db7738dbcff3f77bbed934aa5f6a..72a4f6394d1f93d887581912a5b7b96599bbe0fb 100644 (file)
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -177,7 +177,7 @@ struct vty_arg
 };
 
 /* Integrated configuration file. */
-#define INTEGRATE_DEFAULT_CONFIG "Frr.conf"
+#define INTEGRATE_DEFAULT_CONFIG "frr.conf"
 
 /* Small macro to determine newline is newline only or linefeed needed. */
 #define VTY_NEWLINE  ((vty->type == VTY_TERM) ? "\r\n" : "\n")
index 2ecaadbb5382a848edd438b3d5896bebc1ee683e..ba0b1a84c772db3bf1f13b3f8688c3e667503389 100755 (executable)
--- a/tools/frr
+++ b/tools/frr
@@ -61,7 +61,7 @@ started()
 vtysh_b ()
 {
         # Rember, that all variables have been incremented by 1 in convert_daemon_prios()
-        if [ "$vtysh_enable" = 2 -a -f $C_PATH/Frr.conf ]; then
+        if [ "$vtysh_enable" = 2 -a -f $C_PATH/frr.conf ]; then
                 /usr/bin/vtysh -b -n
         fi
 }
@@ -73,7 +73,7 @@ vtysh_b ()
 check_daemon()
 {
         # If the integrated config file is used the others are not checked.
-        if [ -r "$C_PATH/Frr.conf" ]; then
+        if [ -r "$C_PATH/frr.conf" ]; then
           return 0
         fi
 
@@ -543,10 +543,10 @@ case "$1" in
     reload)
        # Just apply the commands that have changed, no restart necessary
        [ ! -x "$RELOAD_SCRIPT" ] && echo "frr-reload script not available" && exit 0
-       NEW_CONFIG_FILE="${2:-$C_PATH/Frr.conf}"
+       NEW_CONFIG_FILE="${2:-$C_PATH/frr.conf}"
        [ ! -r $NEW_CONFIG_FILE ] && echo "Unable to read new configuration file $NEW_CONFIG_FILE" && exit 1
-       echo "Applying only incremental changes to running configuration from Frr.conf"
-       "$RELOAD_SCRIPT" --reload /etc/frr/Frr.conf
+       echo "Applying only incremental changes to running configuration from frr.conf"
+       "$RELOAD_SCRIPT" --reload /etc/frr/frr.conf
        exit $?
        ;;
 
index 80e259961a6db71b0592d3f5c0840c21d6520375..bf2b006963c234a6c12be68786afd8aeb57d0b8f 100755 (executable)
@@ -488,7 +488,7 @@ def line_to_vtysh_conft(ctx_keys, line, delete):
 
 def line_for_vtysh_file(ctx_keys, line, delete):
     """
-    Return the command as it would appear in Frr.conf
+    Return the command as it would appear in frr.conf
     """
     cmd = []
 
@@ -859,7 +859,7 @@ if __name__ == '__main__':
     parser.add_argument('--debug', action='store_true', help='Enable debugs', default=False)
     parser.add_argument('--stdout', action='store_true', help='Log to STDOUT', default=False)
     parser.add_argument('filename', help='Location of new frr config file')
-    parser.add_argument('--overwrite', action='store_true', help='Overwrite Frr.conf with running config output', default=False)
+    parser.add_argument('--overwrite', action='store_true', help='Overwrite frr.conf with running config output', default=False)
     args = parser.parse_args()
 
     # Logging
@@ -1081,5 +1081,5 @@ if __name__ == '__main__':
                     os.unlink(filename)
 
         # Make these changes persistent
-        if args.overwrite or args.filename != '/etc/frr/Frr.conf':
+        if args.overwrite or args.filename != '/etc/frr/frr.conf':
             subprocess.call(['/usr/bin/vtysh', '-c', 'write'])
index efc23ece888cf73e661e2d404b028e4ea4cd45e6..51dbbe2f32da5be2a6437486fd796bcbcdd67511 100644 (file)
@@ -17,6 +17,6 @@ Restart=on-abnormal
 LimitNOFILE=1024
 ExecStart=/usr/lib/frr/frr start
 ExecStop=/usr/lib/frr/frr stop
-ExecReload=/usr/lib/frr/frr-reload.py --reload /etc/frr/Frr.conf
+ExecReload=/usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
 [Install]
 WantedBy=network-online.target
index c2e3bbbca1d6928aa59e4b6d97c1ef6565b5acd5..38f28e453010c00d79a48370cff0023b9d7d1f56 100644 (file)
@@ -2573,7 +2573,7 @@ DEFUN (vtysh_write_memory,
 
   fprintf (stdout, "Note: this version of vtysh never writes vtysh.conf\n");
 
-  /* If integrated Frr.conf explicitely set. */
+  /* If integrated frr.conf explicitely set. */
   if (want_config_integrated())
     {
       ret = CMD_WARNING;
index 39bf64f307ecd3275f15e25cc9f1273c46bbe9d4..ad31195ac4a28124015d6ae3ae7e515b681268e4 100644 (file)
@@ -49,7 +49,7 @@ DECLARE_MGROUP(MVTYSH)
 
 /* vtysh local configuration file. */
 #define VTYSH_DEFAULT_CONFIG "vtysh.conf"
-#define FRR_DEFAULT_CONFIG "Frr.conf"
+#define FRR_DEFAULT_CONFIG "frr.conf"
 
 enum vtysh_write_integrated {
        WRITE_INTEGRATED_UNSPECIFIED,
index 561eda045418c05e2529a62a2b37cd67f0961647..a24571a2bec97149413d77a1b4b2bd7ba4ae12cd 100644 (file)
@@ -151,7 +151,7 @@ usage (int status)
            "-m, --markfile           Mark input file with context end\n" \
            "    --vty_socket         Override vty socket path\n" \
            "    --config_dir         Override config directory path\n" \
-           "-w, --writeconfig        Write integrated config (Frr.conf) and exit\n" \
+           "-w, --writeconfig        Write integrated config (frr.conf) and exit\n" \
            "-h, --help               Display this help and exit\n\n" \
            "Note that multiple commands may be executed from the command\n" \
            "line by passing multiple -c args, or by embedding linefeed\n" \
@@ -355,7 +355,7 @@ main (int argc, char **argv, char **env)
          strlcat(vtysh_config_always, vtysh_configfile_name, 
              sizeof(vtysh_config_always));
          /* 
-          * Overwrite location for Frr.conf
+          * Overwrite location for frr.conf
           */
          vtysh_configfile_name = strrchr(FRR_DEFAULT_CONFIG, '/');
          if (vtysh_configfile_name)
index bf3e1510a7410763a0602457862dd8447bf90abb..64af7d7f4a59dac6f7857f665cece9e6567cc5aa 100644 (file)
@@ -35,7 +35,7 @@ DEFUN(config_write_integrated,
       config_write_integrated_cmd,
       "write integrated",
       "Write running configuration to memory, network, or terminal\n"
-      "Write integrated all-daemon Frr.conf file\n")
+      "Write integrated all-daemon frr.conf file\n")
 {
        pid_t child;
        sigset_t oldmask, sigmask;