summaryrefslogtreecommitdiffstats
path: root/tools/frr-reload.py
diff options
context:
space:
mode:
authorMartín Beauchamp <martinb@shapeways.com>2017-02-27 19:26:20 +0100
committerMartín Beauchamp <martinb@shapeways.com>2017-02-27 19:26:20 +0100
commite20dc2ba0619cf17474810592d98a6cc9c41cc54 (patch)
tree8eb89100c911a1d5dbca85fbd141401d93146bfe /tools/frr-reload.py
parentMerge pull request #219 from opensourcerouting/feature/isis-draft-ietf-rtgwg-... (diff)
downloadfrr-e20dc2ba0619cf17474810592d98a6cc9c41cc54.tar.xz
frr-e20dc2ba0619cf17474810592d98a6cc9c41cc54.zip
Lowercase frr.conf
Diffstat (limited to 'tools/frr-reload.py')
-rwxr-xr-xtools/frr-reload.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 80e259961..bf2b00696 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'])