diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-27 15:49:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-27 15:49:15 -0500 |
| commit | 3f26b48e86dbd7e609854660480fbafd051e983c (patch) | |
| tree | 8eb89100c911a1d5dbca85fbd141401d93146bfe /tools/frr-reload.py | |
| parent | 821cf0d9f6b6ce55a86a8887a9e48ffaf7e4301f (diff) | |
| parent | e20dc2ba0619cf17474810592d98a6cc9c41cc54 (diff) | |
Merge pull request #229 from ChairmanTubeAmp/martinb-lower-frr.conf
Lowercase frr.conf
Diffstat (limited to 'tools/frr-reload.py')
| -rwxr-xr-x | tools/frr-reload.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py index 80e259961a..bf2b006963 100755 --- a/tools/frr-reload.py +++ b/tools/frr-reload.py @@ -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']) |
